tst_QGraphicsProxyWidget::tabFocus_simpleWidget remove setActiveWindow

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

Remove redundant calls.

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

View File

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