tst_QGraphicsScene::isActive() remove setActiveWindow()

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I3594b1ebede4819e3b0159ea43635fa947b8e929
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
Frédéric Lefebvre 2024-01-30 13:17:33 +01:00
parent f94b7cdbd3
commit f03e9103a5
1 changed files with 0 additions and 1 deletions

View File

@ -4066,7 +4066,6 @@ void tst_QGraphicsScene::isActive()
view1->setVisible(false);
toplevel1.show();
QApplicationPrivate::setActiveWindow(&toplevel1);
QVERIFY(QTest::qWaitForWindowActive(&toplevel1));
QCOMPARE(QApplication::activeWindow(), &toplevel1);