tst_QGraphicsProxyWidget::focusNextPrevChild remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ibbe225fff3a9854495bae5f43ad1a95abc219052
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
46d1e61ca7
commit
7ee85b0bfe
|
|
@ -709,7 +709,6 @@ void tst_QGraphicsProxyWidget::focusNextPrevChild()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
if (hasScene) {
|
||||
scene.addItem(proxyGuard.release());
|
||||
|
|
|
|||
Loading…
Reference in New Issue