tst_QGraphicsProxyWidget::hoverEnterLeaveEvent remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Id5e601b2c95a25614149bd54707e9bc070979f89
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
cdde69b2fe
commit
48a2ee1e9d
|
|
@ -933,7 +933,6 @@ void tst_QGraphicsProxyWidget::hoverEnterLeaveEvent()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
|
||||
SubQGraphicsProxyWidget *proxy = new SubQGraphicsProxyWidget;
|
||||
|
|
|
|||
Loading…
Reference in New Issue