tst_QWidget::tabOrderWithProxy remove QApplicationPrivate::setActiveWind

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Id3b9967ddaa7dbb87eef9faaf4681d7cb014ba8c
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-01-29 10:19:29 +01:00
parent 3cbb6e0e5f
commit e73295f908
1 changed files with 0 additions and 1 deletions

View File

@ -2296,7 +2296,6 @@ void tst_QWidget::tabOrderWithProxy()
container.show();
container.activateWindow();
QApplicationPrivate::setActiveWindow(&container);
QVERIFY(QTest::qWaitForWindowActive(&container));
QTRY_VERIFY(firstEdit->hasFocus());