aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qtcore
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2009-12-14 13:56:44 -0300
committerLauro Neto <lauro.neto@openbossa.org>2009-12-16 21:14:24 -0300
commit62bea2811a6673e6e5836269bd0cf4a8e997cfd7 (patch)
tree2cfdbec9acd0c74561835e8e3291ad5041609d8d /tests/qtcore
parent1c087643b4c5856c12d8a4cd738ee93502310ca2 (diff)
Fixing signals connections back to static method
Diffstat (limited to 'tests/qtcore')
-rw-r--r--tests/qtcore/qslot_object_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtcore/qslot_object_test.py b/tests/qtcore/qslot_object_test.py
index 862541b0b..ad0ea3a14 100644
--- a/tests/qtcore/qslot_object_test.py
+++ b/tests/qtcore/qslot_object_test.py
@@ -32,7 +32,7 @@ class slotTest(unittest.TestCase):
my_obj = objTest()
my_slot = QtCore.SLOT("slot()")
- timer.connect(QtCore.SIGNAL("timeout()"), my_obj, my_slot)
+ QtCore.QObject.connect(timer, QtCore.SIGNAL("timeout()"), my_obj, my_slot)
timer.start(100)
QtCore.QTimer.singleShot(1000, self.quit_app)