tst_QGraphicsView::viewportUpdateMode():: remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: I04843e65f0611b32392ec5e5325a0113b65525e5 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
parent
4eea3827f1
commit
1cc5af4550
@ -2456,7 +2456,6 @@ void tst_QGraphicsView::viewportUpdateMode()
|
|||||||
|
|
||||||
// Show the view, and initialize our test.
|
// Show the view, and initialize our test.
|
||||||
view.show();
|
view.show();
|
||||||
QApplicationPrivate::setActiveWindow(&view);
|
|
||||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||||
QTRY_VERIFY(!view.lastUpdateRegions.isEmpty());
|
QTRY_VERIFY(!view.lastUpdateRegions.isEmpty());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user