diff options
author | Andy Shaw <andy.shaw@digia.com> | 2013-11-20 07:42:14 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-20 08:44:46 +0100 |
commit | cefa54d478fa69d1482602ff442af45bb73c5a7f (patch) | |
tree | 9dca5d16e06e21cecb528a5d3fd2ce66f6c54f2a /tests | |
parent | 97abe053e28fc98b705659c230abfc8a0d46bee1 (diff) |
When we get a WindowBlocked event then reset the qt_button_down value
Whenever a window gets blocked, then the qt_button_down variable should
be reset as it is not going to receive the release event for the mouse.
This fixes problems with the mouse cursor not being updated when moving
over widgets (such as QLineEdit) after a dialog is shown in response to
a press event.
Change-Id: Idfd072eaf36f51b816a0b2a0391cdc447d7a5d9d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions