diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-05 10:20:04 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-02-14 07:13:42 +0000 |
commit | 087f26f9dae4b0b7af6cb9e7e9c3737b9a911a46 (patch) | |
tree | b4c4601ad81b16c5968c8b0fa0c3dcbade3f0af6 /src/testlib/qtestsystem.h | |
parent | bb45b75f3d0fc745fcac03ab330d3a9f147bfe9c (diff) |
tests: Refactor cleanup tst_QMenu::QTBUG47515_widgetActionEnterLeave
Add a main window, based on the observation that the original bug
report was about a typical main window.
The mainwindow typically has the mouse grabbed when clicking to open
a menu and all mouse events go to it. Mimick that in the test
by sending the mouse events to it.
Remove the code using QCursor::setPos().
Task-number: QTBUG-63031
Change-Id: I9117c9633f81aba8bdff235ce64884c489fdc9f7
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'src/testlib/qtestsystem.h')
0 files changed, 0 insertions, 0 deletions