task241436_passwordEchoOnEditRestoreEchoMode() remove setActiveWindow()

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I38d0efb572ce34654e915a9b62c975aa7d045e2c
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-02-09 14:31:51 +01:00
parent 39ef9f76fc
commit d1c98cda92
1 changed files with 0 additions and 1 deletions

View File

@ -3929,7 +3929,6 @@ void tst_QLineEdit::task241436_passwordEchoOnEditRestoreEchoMode()
testWidget->setFocus();
centerOnScreen(testWidget);
testWidget->show();
QApplicationPrivate::setActiveWindow(testWidget);
QVERIFY(QTest::qWaitForWindowActive(testWidget));
QVERIFY(testWidget->hasFocus());