tst_QGraphicsProxyWidget::keyReleaseEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Iedff54d54daa486bba39e593529dbf1b66cb7796
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
8a84f8de47
commit
9ed4b3c6ce
|
|
@ -1022,7 +1022,6 @@ void tst_QGraphicsProxyWidget::keyReleaseEvent()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCOMPARE(QApplication::activeWindow(), (QWidget*)&view);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue