diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-04-01 18:01:41 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-04-26 17:53:17 +0000 |
commit | 8a5001247b250a7f7cb938743481b1405dcdc3a0 (patch) | |
tree | 0f93996a3df1c822fe0821a5c707d3ebdfa48128 /tests/auto/qml | |
parent | dbbbbe569da0aa3900a17ca22bd2be2708fb76f7 (diff) |
MultiPointHandler: eliminate "no points" warning with native gestures
In handlePointerEventImpl, there is the call
d->centroid.reset(d->currentPoints);
with the expectation that currentPoints is not empty. But we weren't
populating it in case of a native gesture.
It still ends up being empty at the end of the gesture, but it's
normal to return false from wantsPointerEvent() when there are no
eligible points.
Fixes: QTBUG-70083
Change-Id: I12ca6460a24d2eb6c44a639f83ce3ff17eb37613
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/qml')
0 files changed, 0 insertions, 0 deletions