diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-02-20 13:55:03 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-02-26 19:52:25 +0000 |
commit | 1500d2283e17be72226b2960a79039254887977f (patch) | |
tree | fbaeb4349ef173d995b7e78bed0d3fa56df834d8 /src/corelib/kernel/qcoreevent.h | |
parent | 7e60858cbc40b8958482ca2e77bed4fda69b161c (diff) |
Clear only one device from g_pointIdMap when all points released
The new test tst_QTouchEvent::touchOnMultipleTouchscreens()
needs the touchpoint IDs to be predictable, but another test currently
has a QEXPECT_FAIL; without release events, g_pointIdMap continued to
hold the touchpoints that were there when the test failed. So it's
necessary to add QWindowSystemInterfacePrivate::clearPointIdMap()
to be able to call it in the test cleanup function.
Fixes: QTBUG-73830
Change-Id: Ia6a70d028be95cd2b6676db6363ec408c0b116bc
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreevent.h')
0 files changed, 0 insertions, 0 deletions