tst_QGraphicsWidget::setTabOrderAndReparent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I5bbe1cbd1e00a82504ed040347581264caf5b560
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
bdf136b1b3
commit
3c2062f5ee
|
|
@ -1459,7 +1459,6 @@ void tst_QGraphicsWidget::setTabOrderAndReparent()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCOMPARE(QApplication::activeWindow(), (QWidget*)&view);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue