diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-09 09:05:28 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-09 13:50:57 +0000 |
commit | 018a76816789adf839f238957cddee13ef7de2e8 (patch) | |
tree | 194791f4d3df15c86ffa48b98e9ec27133648c86 /tests/manual | |
parent | 3b3c8103496f61ebc4b72e73035a4d43fcdd03b0 (diff) |
QQuickPointerTouchEvent::reset: detect the type of exclusive grabber
Correction to 3b3c8103496f61ebc4b72e73035a4d43fcdd03b0: never set
m_exclusiveGrabber without setting m_grabberIsHandler at the same time,
otherwise a crash is possible when static_casting to the wrong type
and attempting to call methods on the item or handler.
Change-Id: I74e015b4fa2edb68cbd5c45bc3aaa6083eec7784
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions