aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpointhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickpointhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpointhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/handlers/qquickpointhandler.cpp b/src/quick/handlers/qquickpointhandler.cpp
index 147724e5b3..3ce95db51a 100644
--- a/src/quick/handlers/qquickpointhandler.cpp
+++ b/src/quick/handlers/qquickpointhandler.cpp
@@ -140,14 +140,14 @@ void QQuickPointHandler::handleEventPoint(QPointerEvent *event, QEventPoint &poi
{
switch (point.state()) {
case QEventPoint::Pressed:
- if (QQuickWindowPrivate::isTouchEvent(event) ||
+ if (QQuickDeliveryAgentPrivate::isTouchEvent(event) ||
(static_cast<const QSinglePointEvent *>(event)->buttons() & acceptedButtons()) != Qt::NoButton) {
setPassiveGrab(event, point);
setActive(true);
}
break;
case QEventPoint::Released:
- if (QQuickWindowPrivate::isTouchEvent(event) ||
+ if (QQuickDeliveryAgentPrivate::isTouchEvent(event) ||
(static_cast<const QSinglePointEvent *>(event)->buttons() & acceptedButtons()) == Qt::NoButton)
setActive(false);
break;