diff options
| author | Axel Spoerl <axel.spoerl@qt.io> | 2024-09-26 11:57:08 +0200 |
|---|---|---|
| committer | Liang Qi <liang.qi@qt.io> | 2024-09-27 22:20:54 +0000 |
| commit | 899c89c8d71d90b30c21b688cfe6b62868ad1ee9 (patch) | |
| tree | 8fb567bb8466d9f3ea344f012873c4c1e939bf53 /src/corelib/kernel/qobject.cpp | |
| parent | 597f4bd4734e8a165929bc163ac910f44ba7a1e7 (diff) | |
Wait for mainWindow exposure in tst_QDockWidget::createTestWidgets()
The helper function shows the main window and uses the
QApplicationPrivate::setActiveWindow() antipattern afterwards.
Use qWaitForWindowExposed() instead.
Pick-to: 6.8
Task-number: QTBUG-129362
Change-Id: I915c5f8221e4e289950e917ad9c4fc2a7f5b9987
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
