X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Flogwindow.py;h=336818535b5a449769544a94190d7e9d27355116;hp=2719dcfb9fc60822d815942a9757c0ef89fc7e98;hb=42a9357116e979915087740ee476a79cd925e3c1;hpb=af547c974bce8d8a7952cfc8089ef30e5d8e4bdf 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):