diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-01-13 11:27:11 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-01-13 21:00:22 +0000 |
commit | 55928821d1b119112c520af3b83dc9ed210cf5f0 (patch) | |
tree | a401449afca13643c7fe045e90be575892869aa3 /src/corelib/doc/src/qt6-changes.qdoc | |
parent | b1cf7285f9a469b8f0c62f2048e4c0828def5f1a (diff) |
Improve QShortcut test
The test uses a static MainWindow so that we can execute a series of key
simulations on the same window. The window is then destroyed when we
reach the final test row.
If some of the tests fail, then the window is left in an unknown state,
resulting in cascading failures for the other tests. Fix this by always
trying to show and activate the window, and always destroying the static
window if we have reached the last test data row.
Fixes: QTBUG-99630
Pick-to: 6.2 6.3
Change-Id: I466669f387e8b199e9e719a7ebbe3ae670658b7e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/doc/src/qt6-changes.qdoc')
0 files changed, 0 insertions, 0 deletions