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
parent
f94b7cdbd3
commit
f03e9103a5
|
|
@ -4066,7 +4066,6 @@ void tst_QGraphicsScene::isActive()
|
|||
view1->setVisible(false);
|
||||
|
||||
toplevel1.show();
|
||||
QApplicationPrivate::setActiveWindow(&toplevel1);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&toplevel1));
|
||||
QCOMPARE(QApplication::activeWindow(), &toplevel1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue