aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/globalreceiverv2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpyside/globalreceiverv2.cpp')
-rw-r--r--libpyside/globalreceiverv2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpyside/globalreceiverv2.cpp b/libpyside/globalreceiverv2.cpp
index a0fd9acec..47fbc9f58 100644
--- a/libpyside/globalreceiverv2.cpp
+++ b/libpyside/globalreceiverv2.cpp
@@ -288,7 +288,7 @@ int GlobalReceiverV2::qt_metacall(QMetaObject::Call call, int id, void** args)
m_refs.removeAll(obj); // remove all refs to this object
decRef(); //remove the safe ref
} else {
- bool isShortCuit = (strstr(slot.signature(), "(") == 0);
+ bool isShortCuit = (strstr(slot.methodSignature(), "(") == 0);
Shiboken::AutoDecRef callback(m_data->callback());
SignalManager::callPythonMetaMethod(slot, args, callback, isShortCuit);
}