tst_QGraphicsWidget::setTabOrder_data() remove setActiveWindow()

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If105d1c2db3646c7d31d72aeaa373015f175fd44
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-01-30 15:26:16 +01:00
parent 2e6a25da7c
commit bdf136b1b3
1 changed files with 0 additions and 1 deletions

View File

@ -1388,7 +1388,6 @@ void tst_QGraphicsWidget::setTabOrder()
QGraphicsScene scene;
QGraphicsView view(&scene);
view.show();
QApplicationPrivate::setActiveWindow(&view);
QVERIFY(QTest::qWaitForWindowActive(&view));
QGraphicsWidget *lastItem = nullptr;