Merge branch 'master' of git://git.onelab.eu/sface
[sface.git] / sface / logwindow.py
index 2719dcf..3368185 100644 (file)
@@ -16,7 +16,11 @@ class LogWindow(QDialog):
         layout.addWidget(self.text)
         self.setLayout(layout)
 
-        self.io = QIODevice(self)
+        # To Baris: from the doc,
+        # QIODevice is abstract and can not be instantiated
+        # I am putting QObject just to let the GUI start.
+        #self.io = QIODevice(self)
+        self.io = QObject()
         self.connect(self.io, SIGNAL('canReadLine()'), self.appendLine)
 
     def redirectOutput(self):