aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquicktaphandler.cpp
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@qt.io>2017-02-22 14:19:12 +0100
committerJan Arve Sæther <jan-arve.saether@qt.io>2017-02-23 12:29:10 +0000
commite53510944169ac9f6753e0d14e1b24a24ff7bd9a (patch)
tree117b20c0045b0fcf4a0dd2f744068e75b607731d /src/quick/handlers/qquicktaphandler.cpp
parentac61ca1a2e18bd472d36fdad730a797a913fe347 (diff)
API: Move acceptedButtons to QQuickPointerSingleHandler
Change-Id: I8cb393986e587e69d550ec03f691258c79d9237a Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers/qquicktaphandler.cpp')
-rw-r--r--src/quick/handlers/qquicktaphandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquicktaphandler.cpp b/src/quick/handlers/qquicktaphandler.cpp
index b05d32f4b4..5ee415d710 100644
--- a/src/quick/handlers/qquicktaphandler.cpp
+++ b/src/quick/handlers/qquicktaphandler.cpp
@@ -148,7 +148,7 @@ void QQuickTapHandler::handleEventPoint(QQuickEventPoint *point)
setPressed(true, false, point);
break;
case QQuickEventPoint::Released:
- if ((point->pointerEvent()->buttons() & m_acceptedButtons) == Qt::NoButton)
+ if ((point->pointerEvent()->buttons() & acceptedButtons()) == Qt::NoButton)
setPressed(false, false, point);
break;
default: