aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-02-16 10:48:37 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-02-23 18:26:46 +0000
commit59c753bc75c7cfd4068fbbba3c25e1f54c46f4c0 (patch)
tree8998c236fe9ac9796a0b05f1501b2442b6d5c02a /src/quick/handlers
parente53510944169ac9f6753e0d14e1b24a24ff7bd9a (diff)
QQuickWindowPrivate::deliverTouchCancelEvent: deliver to handlers too
Now that onGrabChanged() is unified, we have a means to tell the handler when it loses its grab due to a touch event being canceled. Change-Id: Idf3649242233ac7fb8c1fa80ad257ee14b861090 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/handlers')
-rw-r--r--src/quick/handlers/qquickpointerhandler_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickpointerhandler_p.h b/src/quick/handlers/qquickpointerhandler_p.h
index b5da8cba1f..24a058275d 100644
--- a/src/quick/handlers/qquickpointerhandler_p.h
+++ b/src/quick/handlers/qquickpointerhandler_p.h
@@ -115,6 +115,7 @@ private:
bool m_hadKeepTouchGrab : 1; // some handlers override target()->setKeepTouchGrab(); this remembers previous state
friend class QQuickEventPoint;
+ friend class QQuickWindowPrivate;
};
QT_END_NAMESPACE