diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-12-29 14:46:31 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-12-29 15:12:58 +0000 |
commit | de3896d2ee2a57aad83eea237ef1c39e3581190b (patch) | |
tree | 5c060fb9979fe7ba87124357a6cc59c2c8e25f0e /tests/manual | |
parent | 871314ced803afe0ac31033cfbd79fa4c1b18e3d (diff) |
QQuickMultiPointerHandler::grabPoints cancels existing grabs
When a pointer handler wants to grab a point, it must always call
QQuickPointerHandler::setGrab() because that's where handleGrabCancel()
will be called, if necessary.
QQuickEventPoint::setGrabberPointerHandler() is too low-level for
direct use in handlers: it does not notify any existing grabber that
it has lost its grab.
Change-Id: I8dcbc029dc0fd8b3becbeda87965572eb274502f
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions