tst_QMdiArea::tabBetweenSubWindows() remove setActiveWindow()

2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I0c5f0e2fcc93c5ec8d15fafe9142cf948459a320
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-02-09 15:10:15 +01:00
parent cd37cda528
commit 42dfece6f3
1 changed files with 0 additions and 1 deletions

View File

@ -2256,7 +2256,6 @@ void tst_QMdiArea::tabBetweenSubWindows()
mdiArea.show();
QVERIFY(QTest::qWaitForWindowExposed(&mdiArea));
QApplicationPrivate::setActiveWindow(&mdiArea);
QWidget *focusWidget = subWindows.back()->widget();
QCOMPARE(qApp->focusWidget(), focusWidget);