diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-18 16:34:09 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-20 18:05:15 +0200 |
commit | a3c85182682c3dd2b220198f8bd8bc8c593f0f9e (patch) | |
tree | 8ca92bf716d240ea19f0802d7efb8f72a9d1b1d0 /examples/embedded/styleexample/main.cpp | |
parent | c58a3a4aae4c423bd0477a981ad1c517a30579e3 (diff) |
Make QMainWindow::restoreStateSizeChanged test less time sensitive
Amends 32edae5e268b968aff82f0713612eff2feffb4e1, which introduced a
timeout after which the restored state is discarded. If this timeout
hits during a CI run, then the test is expected to
fail.
Implement a lambda that watches for the restored state to disappear.
This happens primarily when restoring a fullscreen state, where some
desktop environments scroll in a new virtual desktop. It should not
happen for other data tags.
Change-Id: I5ff43a4e1857eca17a5d4fe2b47add1f70636e8d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'examples/embedded/styleexample/main.cpp')
0 files changed, 0 insertions, 0 deletions