tst_QGraphicsView::QTBUG_5859_exposedRect() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Iafebaaf4c737c2e07dbc7a5ea1d3a5a4cd335150
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
ec4221a37c
commit
c65aebfad6
|
|
@ -4813,7 +4813,6 @@ void tst_QGraphicsView::QTBUG_5859_exposedRect()
|
|||
QGraphicsView view(&scene);
|
||||
view.scale(4.15, 4.15);
|
||||
view.showNormal();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue