tst_QGraphicsProxyWidget::mouseDoubleClickEvent remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I3810aee981bacdccc4545b69fe274bdbdde36a3d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
9ed4b3c6ce
commit
e504e71816
|
|
@ -1067,7 +1067,6 @@ void tst_QGraphicsProxyWidget::mouseDoubleClickEvent()
|
|||
view.resize(100, 100);
|
||||
view.show();
|
||||
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCOMPARE(QApplication::activeWindow(), (QWidget*)&view);
|
||||
// wait for scene to be updated before doing any coordinate mappings on it
|
||||
|
|
|
|||
Loading…
Reference in New Issue