projects
/
gc-dialer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dafceb0
)
PySide Bug Reproduction: Bringing code inline with how DC does things
author
Ed Page
<eopage@byu.net>
Wed, 6 Apr 2011 02:36:06 +0000
(21:36 -0500)
committer
Ed Page
<eopage@byu.net>
Tue, 19 Apr 2011 23:49:32 +0000
(18:49 -0500)
hand_tests/threading.py
patch
|
blob
|
history
diff --git
a/hand_tests/threading.py
b/hand_tests/threading.py
index
5581f94
..
1a666df
100755
(executable)
--- a/
hand_tests/threading.py
+++ b/
hand_tests/threading.py
@@
-8,6
+8,7
@@
import time
import sys
sys.path.insert(0,"./src")
from util import qt_compat
import sys
sys.path.insert(0,"./src")
from util import qt_compat
+from util import qore_utils
class QThread44(qt_compat.QtCore.QThread):
class QThread44(qt_compat.QtCore.QThread):
@@
-62,12
+63,12
@@
class Consumer(qt_compat.QtCore.QObject):
if __name__ == "__main__":
app = qt_compat.QtCore.QCoreApplication([])
if __name__ == "__main__":
app = qt_compat.QtCore.QCoreApplication([])
- producerThread = QThread44()
+ producerThread = qore_utils.QThread44()
producer = Producer()
producer.moveToThread(producerThread)
producerThread.started.connect(producer.process)
producer = Producer()
producer.moveToThread(producerThread)
producerThread.started.connect(producer.process)
- consumerThread = QThread44()
+ consumerThread = qore_utils.QThread44()
consumer = Consumer()
consumer.moveToThread(consumerThread)
consumerThread.started.connect(consumer.process)
consumer = Consumer()
consumer.moveToThread(consumerThread)
consumerThread.started.connect(consumer.process)