aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpointerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpointerhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp
index 80cf77c627..3a15eb4d41 100644
--- a/src/quick/handlers/qquickpointerhandler.cpp
+++ b/src/quick/handlers/qquickpointerhandler.cpp
@@ -660,10 +660,8 @@ void QQuickPointerHandler::handlePointerEvent(QPointerEvent *event)
setActive(false);
for (int i = 0; i < event->pointCount(); ++i) {
auto &pt = event->point(i);
- if (event->exclusiveGrabber(pt) == this && pt.state() != QEventPoint::Stationary) {
+ if (event->exclusiveGrabber(pt) == this && pt.state() != QEventPoint::Stationary)
event->setExclusiveGrabber(pt, nullptr);
- onGrabChanged(this, QPointingDevice::CancelGrabExclusive, event, pt);
- }
}
}
d->currentEvent = nullptr;