tabFocus_simpleTwoWidgets() remove setActiveWindow()

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I71c2b7a6ef69bb2990b8d56020323b90c949f966
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-02-09 13:19:25 +01:00
parent 43c7c4080b
commit 1a9bd89788
1 changed files with 0 additions and 1 deletions

View File

@ -1621,7 +1621,6 @@ void tst_QGraphicsProxyWidget::tabFocus_simpleTwoWidgets()
window.setLayout(layout);
window.show();
QApplicationPrivate::setActiveWindow(&window);
window.activateWindow();
QVERIFY(QTest::qWaitForWindowActive(&window));