diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-08-31 13:39:52 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-08-31 13:59:37 +0000 |
commit | 6a1746f508fb994acf7d1d317cd34dad748e73df (patch) | |
tree | 371e10a381cb1bdb0b72c291aa2e99c83aaab3ae /src/quick | |
parent | 35caa44992c32bd51e55b7b039df8fad7c945bc6 (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')
-rw-r--r-- | src/quick/handlers/qquickdraghandler_p.h | 2 |
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); |