aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/glue/qobject_connect.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-02 18:52:33 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-04 17:17:31 -0300
commit6f19bc36d75249c32a0b30e55460ed3e0348bc23 (patch)
treee8520b76be7ee0ab0077443b9fb290617b7f0bc0 /PySide/QtCore/glue/qobject_connect.cpp
parent77bb1220b4bc7d538d1e57cf6011d7b3fbe42925 (diff)
Fix compilation of QtCore when using -DAVOID_PROTECTED_HACK.
Diffstat (limited to 'PySide/QtCore/glue/qobject_connect.cpp')
-rw-r--r--PySide/QtCore/glue/qobject_connect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/glue/qobject_connect.cpp b/PySide/QtCore/glue/qobject_connect.cpp
index b813be9a6..16842a0a3 100644
--- a/PySide/QtCore/glue/qobject_connect.cpp
+++ b/PySide/QtCore/glue/qobject_connect.cpp
@@ -78,7 +78,7 @@ static bool qobjectConnectCallback(QObject* source, const char* signal, PyObject
#ifndef AVOID_PROTECTED_HACK
source->connectNotify(signal);
#else
- reinterpret_cast<QObjectWrapper*>(source)->connectNotify_protected(source, signal);
+ reinterpret_cast<QObjectWrapper*>(source)->connectNotify_protected(signal);
#endif
if (usingGlobalReceiver)
signalManager.globalReceiverConnectNotify(source, slotIndex);