diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2016-10-02 17:08:32 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2016-10-03 07:54:25 +0000 |
commit | 5a59b11ce8c4230e3a7609e3ca46119340153052 (patch) | |
tree | 9265b9b8803a634250cf2c64cbc8f1c76309428e /tests/auto/quick/qquickflickable/tst_qquickflickable.cpp | |
parent | d9d2277fb8e823af8977d6f3aa5cc7ee8213c26a (diff) |
Fix release event delivery in deliverTouchAsMouse
Originally in the complicated version of this part of the code, the
event would always end up in the right place, since the grabber was kept
and events delivered reliably. Now we take device and point ID for the
grabs into account. When delivering a mouse event from a touch, we would
clear the pointer device and ID before trying to send the release, which
resulted in the release event never being delivered.
Change-Id: I9bc1b2a795023740f8fe3961d779bc8bff0dc35e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickflickable/tst_qquickflickable.cpp')
0 files changed, 0 insertions, 0 deletions