aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel/signalhandler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webchannel/signalhandler_p.h')
-rw-r--r--src/webchannel/signalhandler_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webchannel/signalhandler_p.h b/src/webchannel/signalhandler_p.h
index 2613f92..5bc1f4d 100644
--- a/src/webchannel/signalhandler_p.h
+++ b/src/webchannel/signalhandler_p.h
@@ -272,7 +272,9 @@ void SignalHandler<Receiver>::clear()
}
}
m_connectionsCounter.clear();
+ const SignalArgumentHash keep = m_signalArgumentTypes.take(&QObject::staticMetaObject);
m_signalArgumentTypes.clear();
+ m_signalArgumentTypes[&QObject::staticMetaObject] = keep;
}
#endif // SIGNALHANDLER_H