bypassGraphicsProxyWidget() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I0a657c9aaac4684566edd212a510c7c9016117a2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
2352fa0040
commit
3d19633f5d
|
|
@ -3075,7 +3075,6 @@ void tst_QGraphicsProxyWidget::bypassGraphicsProxyWidget()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
|
||||
QGraphicsProxyWidget *proxy = scene.addWidget(widgetGuard.release());
|
||||
|
|
|
|||
Loading…
Reference in New Issue