tst_QGraphicsWidget::verifyFocusChain() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ie762c7fa6bc4bf15f8580b3569e2196a5bd40b25
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
3c2062f5ee
commit
462b85b7e9
|
|
@ -1588,7 +1588,6 @@ void tst_QGraphicsWidget::verifyFocusChain()
|
|||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue