aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/handlers/qquickpointerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp
index c32bec665c..faebdf3621 100644
--- a/src/quick/handlers/qquickpointerhandler.cpp
+++ b/src/quick/handlers/qquickpointerhandler.cpp
@@ -98,7 +98,6 @@ void QQuickPointerHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEv
Q_ASSERT(point);
if (grabber == this) {
bool wasCanceled = false;
- emit grabChanged(point);
switch (stateChange) {
case QQuickEventPoint::GrabPassive:
case QQuickEventPoint::GrabExclusive:
@@ -115,6 +114,7 @@ void QQuickPointerHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEv
par->setKeepMouseGrab(m_hadKeepMouseGrab);
par->setKeepTouchGrab(m_hadKeepTouchGrab);
}
+ break;
case QQuickEventPoint::OverrideGrabPassive:
// Passive grab is still there, but we won't receive point updates right now.
// No need to notify about this.