diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-05-07 14:56:26 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-05-15 13:19:40 +0000 |
commit | 710f9507c0ebf01d9e9f717e676b9c3b1b94ee8a (patch) | |
tree | 8d50c384e6d18b92612cacdaafd211de004a47a6 /examples | |
parent | be4c4877b35ad1b6983cf194e61f0dad1d123af5 (diff) |
setGrabberItem: consistently call touchUngrabEvent or mouseUngrabEvent
Calling grabberItem() to get the old grabber must come before setting
m_exclusiveGrabber. Then we call oldGrabberItem->touchUngrabEvent()
or oldGrabberItem->mouseUngrabEvent() as appropriate. Now the
responsibility for this is moved from QQuickItem::grabMouse()
to QQuickEventPoint::setGrabberItem() (which it calls).
Task-number: QTBUG-65648
Change-Id: Ia6219cb798d7f671ccc4006d51eeb87dbdbda3ef
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions