diff options
author | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-02-09 14:49:27 +0100 |
---|---|---|
committer | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-04-29 21:37:29 +0200 |
commit | 5e73f9a73c18948d2aa7b47e4307cdb358925333 (patch) | |
tree | 0077607e722c5248d9c2ed3b1c471202b50f5a41 /tests/auto/widgets/widgets/qmdiarea | |
parent | aa8d720ea973e853f29553f12835446059d33365 (diff) |
tst_QMdiArea::changeWindowTitle() remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I22c7b573a4a9dc78047d2d6354591d7cea92cb23
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets/qmdiarea')
-rw-r--r-- | tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp index fb653e01c8..d770835096 100644 --- a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp +++ b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp @@ -659,7 +659,6 @@ void tst_QMdiArea::changeWindowTitle() #endif mw->show(); - QApplicationPrivate::setActiveWindow(mw); #ifdef USE_SHOW mw->showFullScreen(); |