From 42a9357116e979915087740ee476a79cd925e3c1 Mon Sep 17 00:00:00 2001 From: Giovanni Gherdovich Date: Wed, 15 Sep 2010 00:41:27 +0200 Subject: [PATCH] temporary change to logwindow.py. QIODevice can't be instantiated --- sface/logwindow.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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): -- 2.43.0