qt5base-lts/tests/auto/widgets/kernel/qwidget
Miikka Heikkinen dde3f6a934 Fix excess enter events when showing modal dialog on button press
QApplicationPrivate::leaveAfterRelease was not properly cleared when
mouse event handling was interrupted by a modal dialog, which caused
every mouse move over the modal dialog to trigger enter event to the
widget under cursor.

Fixed by clearing QApplicationPrivate::leaveAfterRelease if mouse event
without any buttons pressed is handled.

Task-number: QTBUG-27643
Change-Id: I4f31daa656bc643c88e5338282a671ae2077e255
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-11-07 08:44:38 +01:00
..
testdata/paintEvent
.gitignore
geometry-fullscreen.dat
geometry-maximized.dat
geometry.dat
qwidget.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qwidget.qrc
tst_qwidget_mac_helpers.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
tst_qwidget_mac_helpers.mm Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
tst_qwidget.cpp Fix excess enter events when showing modal dialog on button press 2012-11-07 08:44:38 +01:00