diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-04-23 14:49:58 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-04-26 20:49:48 +0000 |
commit | 2f397aa15a13efbadf6c1bc378bb134ac1e655c5 (patch) | |
tree | b3ff0e821eaa1c1abcb2280a04164d18017efaa2 /src/particles | |
parent | 44e398f64ebe2841d5448076ed83f9886ab1b48f (diff) |
Fix crash when using drag with Drag.Automatic
QQuickPointerTouchEvent::m_event is 0 when calling
QQuickPointerTouchEvent::isPressEvent(). Add a convenience function
with a check returning the Qt::TouchPointStates.
Task-number: QTBUG-44976
Change-Id: I2433ec3c56adeda2de190ca46aed8413a1357c55
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/particles')
0 files changed, 0 insertions, 0 deletions