task172231_untransformableItems() remove setActiveWindows()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I61f03a01e6001b0ced0297ff4d9bb0d199585445
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
b3ae097a2c
commit
4232fc5c41
|
|
@ -3185,7 +3185,6 @@ void tst_QGraphicsView::task172231_untransformableItems()
|
|||
|
||||
view.scale(2, 1);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCOMPARE(QApplication::activeWindow(), static_cast<QWidget *>(&view));
|
||||
|
|
|
|||
Loading…
Reference in New Issue