aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2017-08-28 15:04:38 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-08-28 13:33:24 +0000
commit8dc02aab72a714b5195ccc641fbfb534c3ae9e98 (patch)
treefdfc60bcb3e00b1188ef3421467cd9088d0005b5 /src/quick/handlers
parentd86e0141b2a7a49445cbccacbcc4f62e0b4109d7 (diff)
Remove QQuickEventPoint parameter from tapped property
The information is already available from the 'point' property of QQuickPointerSingleHandler Change-Id: I96bdf2f1d8fbd1de901710a0d12dee5604565756 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers')
-rw-r--r--src/quick/handlers/qquicktaphandler.cpp2
-rw-r--r--src/quick/handlers/qquicktaphandler_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/handlers/qquicktaphandler.cpp b/src/quick/handlers/qquicktaphandler.cpp
index 1bcf42a073..9b1c3c605c 100644
--- a/src/quick/handlers/qquicktaphandler.cpp
+++ b/src/quick/handlers/qquicktaphandler.cpp
@@ -287,7 +287,7 @@ void QQuickTapHandler::setPressed(bool press, bool cancel, QQuickEventPoint *poi
else
m_tapCount = 1;
qCDebug(lcTapHandler) << objectName() << "tapped" << m_tapCount << "times";
- emit tapped(point);
+ emit tapped();
emit tapCountChanged();
m_lastTapTimestamp = ts;
m_lastTapPos = point->scenePos();
diff --git a/src/quick/handlers/qquicktaphandler_p.h b/src/quick/handlers/qquicktaphandler_p.h
index 0e9a6f0411..433d2138ea 100644
--- a/src/quick/handlers/qquicktaphandler_p.h
+++ b/src/quick/handlers/qquicktaphandler_p.h
@@ -95,7 +95,7 @@ Q_SIGNALS:
void timeHeldChanged();
void longPressThresholdChanged();
void gesturePolicyChanged();
- void tapped(QQuickEventPoint *point);
+ void tapped();
void longPressed();
protected: