tst_QGraphicsProxyWidget::paintEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ia3de47e0a934d9b3a15df15d5bc3ca28691a4727
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
e504e71816
commit
108caf0797
|
|
@ -1152,7 +1152,6 @@ void tst_QGraphicsProxyWidget::paintEvent()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QVERIFY(view.isActiveWindow());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue