From: Ed Page Date: Wed, 6 Apr 2011 02:36:06 +0000 (-0500) Subject: PySide Bug Reproduction: Bringing code inline with how DC does things X-Git-Url: https://vcs.maemo.org/git/?p=gc-dialer;a=commitdiff_plain;h=3ebebcc3c42bf3afb1f317c8d19e362d4f666a57 PySide Bug Reproduction: Bringing code inline with how DC does things --- 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)