aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquicktaphandler.cpp
diff options
context:
space:
mode:
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: