summaryrefslogtreecommitdiffstats
path: root/sip/qt
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt')
-rw-r--r--sip/qt/qobject.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/qt/qobject.sip b/sip/qt/qobject.sip
index fcc1d89..df82e56 100644
--- a/sip/qt/qobject.sip
+++ b/sip/qt/qobject.sip
@@ -1414,7 +1414,7 @@ static void *sipTQtCreateUniversalSlot(sipWrapper *tx, const char *sig,
pyqt3SlotConnection conn;
/* Initialise the connection. */
- if (sipGetAddress(&tx->super) == NULL)
+ if (tx && sipGetAddress(&tx->super) == NULL)
{
conn.sc_transmitter = 0;
}