From: Giovanni Gherdovich Date: Tue, 14 Sep 2010 22:41:27 +0000 (+0200) Subject: temporary change to logwindow.py. QIODevice can't be instantiated X-Git-Tag: sface-0.1-1~31 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=42a9357116e979915087740ee476a79cd925e3c1;hp=af547c974bce8d8a7952cfc8089ef30e5d8e4bdf temporary change to logwindow.py. QIODevice can't be instantiated --- diff --git a/sface/logwindow.py b/sface/logwindow.py index 2719dcf..3368185 100644 --- a/sface/logwindow.py +++ b/sface/logwindow.py @@ -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):