aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickpresshandler_p_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-02-15 13:04:32 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-02-21 10:57:30 +0000
commitf7f2e0981db1c8f5e148b78ebbeaad4ff695abd6 (patch)
tree0598992f2f054db48327b921b762057378ff6470 /src/quicktemplates2/qquickpresshandler_p_p.h
parentc8e5e07897a2044b62ba77ae5839462f3be2375e (diff)
Fix failing text control tests
As bbc81363f explains, we should be using QObject::isSignalConnected() instead of QObjectPrivate::isSignalConnected(). Fixes: QTBUG-73754 Change-Id: Ibba1371dac588c0f9c1fda474a3f5745f232e59b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpresshandler_p_p.h')
-rw-r--r--src/quicktemplates2/qquickpresshandler_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickpresshandler_p_p.h b/src/quicktemplates2/qquickpresshandler_p_p.h
index 99ef94bd..19312cdd 100644
--- a/src/quicktemplates2/qquickpresshandler_p_p.h
+++ b/src/quicktemplates2/qquickpresshandler_p_p.h
@@ -67,6 +67,8 @@ struct QQuickPressHandler
void clearDelayedMouseEvent();
bool isActive();
+ static bool isSignalConnected(QQuickItem *item, const char *signalName, int &signalIndex);
+
QQuickItem *control = nullptr;
QBasicTimer timer;
QPointF pressPos;