From 6a1746f508fb994acf7d1d317cd34dad748e73df Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 31 Aug 2018 13:39:52 +0200 Subject: Remove Q_INVOKABLE from DragHandler.enforceConstraints() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't have any current use case for calling this method from QML. Change-Id: I72df37645c93475684fe8d0bc2e5a0582dcecad4 Reviewed-by: Jan Arve Sæther --- src/quick/handlers/qquickdraghandler_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/handlers/qquickdraghandler_p.h') diff --git a/src/quick/handlers/qquickdraghandler_p.h b/src/quick/handlers/qquickdraghandler_p.h index 3b8d2ef254..c419e26a3d 100644 --- a/src/quick/handlers/qquickdraghandler_p.h +++ b/src/quick/handlers/qquickdraghandler_p.h @@ -74,7 +74,7 @@ public: QVector2D translation() const { return m_translation; } void setTranslation(const QVector2D &trans); - Q_INVOKABLE void enforceConstraints(); + void enforceConstraints(); Q_SIGNALS: // void gestureStarted(QQuickGestureEvent *gesture); -- cgit v1.2.3