aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlnotifier_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2012-06-06 14:12:01 +0100
committerQt by Nokia <qt-info@nokia.com>2012-06-07 12:20:32 +0200
commite58931462e3c32434d070058b87e5d9152ed004e (patch)
tree7ca61717769ba0b2a7c92a4f26136a8613054b70 /src/qml/qml/qqmlnotifier_p.h
parentc7ad506a4e46d3b3a2d3f6235e5c7df69b027311 (diff)
Don't double emit threaded signals
As the metacall event was posted to the object emitting the signal, it caused the signal to be *reemitted* on the object thread. If both QML and Qt connections were present, the Qt ones were run twice. Change-Id: I4bc1402ab0a43762ff6fef173ecc77fc20508bad Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlnotifier_p.h')
-rw-r--r--src/qml/qml/qqmlnotifier_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlnotifier_p.h b/src/qml/qml/qqmlnotifier_p.h
index 49bf9eddac..2d827aa80d 100644
--- a/src/qml/qml/qqmlnotifier_p.h
+++ b/src/qml/qml/qqmlnotifier_p.h
@@ -58,6 +58,7 @@ public:
private:
friend class QQmlData;
friend class QQmlNotifierEndpoint;
+ friend class QQmlThreadNotifierProxyObject;
static void emitNotify(QQmlNotifierEndpoint *, void **a);
QQmlNotifierEndpoint *endpoints;