task255529_transformationAnchorAndViewportMargins remove setActive
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Id88665c413398c4bca844b178ad24ea23c674d89
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
5680789b2f
commit
ec4221a37c
|
|
@ -4640,7 +4640,6 @@ void tst_QGraphicsView::task255529_transformationAnchorMouseAndViewportMargins()
|
|||
VpGraphicsView view(&scene);
|
||||
view.setWindowFlags(Qt::X11BypassWindowManagerHint);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
const bool isActiveWindow = QTest::qWaitForWindowActive(&view);
|
||||
if (!isActiveWindow)
|
||||
|
|
|
|||
Loading…
Reference in New Issue