git://git.onelab.eu
/
sface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af547c9
)
temporary change to logwindow.py. QIODevice can't be instantiated
author
Giovanni Gherdovich
<ggherdov@brentaal.inria.fr>
Tue, 14 Sep 2010 22:41:27 +0000
(
00:41
+0200)
committer
Giovanni Gherdovich
<ggherdov@brentaal.inria.fr>
Tue, 14 Sep 2010 22:41:27 +0000
(
00:41
+0200)
sface/logwindow.py
patch
|
blob
|
history
diff --git
a/sface/logwindow.py
b/sface/logwindow.py
index
2719dcf
..
3368185
100644
(file)
--- 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):