From 3ebebcc3c42bf3afb1f317c8d19e362d4f666a57 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 5 Apr 2011 21:36:06 -0500 Subject: [PATCH] PySide Bug Reproduction: Bringing code inline with how DC does things --- hand_tests/threading.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hand_tests/threading.py b/hand_tests/threading.py index 5581f94..1a666df 100755 --- 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 +from util import qore_utils class QThread44(qt_compat.QtCore.QThread): @@ -62,12 +63,12 @@ class Consumer(qt_compat.QtCore.QObject): if __name__ == "__main__": app = qt_compat.QtCore.QCoreApplication([]) - producerThread = QThread44() + producerThread = qore_utils.QThread44() 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) -- 1.7.9.5