aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickdraghandler_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-08-31 13:39:52 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2018-08-31 13:59:37 +0000
commit6a1746f508fb994acf7d1d317cd34dad748e73df (patch)
tree371e10a381cb1bdb0b72c291aa2e99c83aaab3ae /src/quick/handlers/qquickdraghandler_p.h
parent35caa44992c32bd51e55b7b039df8fad7c945bc6 (diff)
Remove Q_INVOKABLE from DragHandler.enforceConstraints()
We don't have any current use case for calling this method from QML. Change-Id: I72df37645c93475684fe8d0bc2e5a0582dcecad4 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickdraghandler_p.h')
-rw-r--r--src/quick/handlers/qquickdraghandler_p.h2
1 files changed, 1 insertions, 1 deletions
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);