From 66399c6584a86180c1955e5d34617fa46b07f36e Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Mon, 2 Apr 2012 10:02:28 +1000 Subject: Also check notifier endpoints when checking whether a signal is connected. This is required for the QQmlBoundSignal optimizations. Change-Id: I63540b96cd7d4523ec49973a2540054c83d82b12 Reviewed-by: Chris Adams --- src/qml/qml/qqmldata_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/qml/qqmldata_p.h') diff --git a/src/qml/qml/qqmldata_p.h b/src/qml/qml/qqmldata_p.h index b8eee47750..1a188f9e59 100644 --- a/src/qml/qml/qqmldata_p.h +++ b/src/qml/qml/qqmldata_p.h @@ -133,6 +133,7 @@ public: inline QQmlNotifierEndpoint *notify(int index); void addNotify(int index, QQmlNotifierEndpoint *); int endpointCount(int index); + bool signalHasEndpoint(int index); // The context that created the C++ object QQmlContextData *context; -- cgit v1.2.3