aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webchannel/shared/qwebchannel.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webchannel/shared/qwebchannel.js')
-rw-r--r--examples/webchannel/shared/qwebchannel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webchannel/shared/qwebchannel.js b/examples/webchannel/shared/qwebchannel.js
index 1e0d72a..800a66e 100644
--- a/examples/webchannel/shared/qwebchannel.js
+++ b/examples/webchannel/shared/qwebchannel.js
@@ -266,7 +266,7 @@ function QObject(name, data, webChannel)
return;
// also note that we always get notified about the destroyed signal
- if (signalName === "destroyed")
+ if (signalName === "destroyed" || signalName === "destroyed()" || signalName === "destroyed(QObject*)")
return;
// and otherwise we only need to be connected only once