Skip to content

Commit

Permalink
tst_QStackedLayout::keepFocusAfterSetCurrent() remove setActiveWindow()
Browse files Browse the repository at this point in the history
2f6fe3a as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iaf1e79193f0f7013d02d91930cc408af5b0f8e1d
Reviewed-by: Axel Spoerl <[email protected]>
  • Loading branch information
Frédéric Lefebvre committed May 6, 2024
1 parent 0581f59 commit 2e3f607
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ void tst_QStackedLayout::keepFocusAfterSetCurrent()
stackLayout->setCurrentIndex(0);

testWidget->show();
QApplicationPrivate::setActiveWindow(testWidget);
QVERIFY(QTest::qWaitForWindowActive(testWidget));

edit1->setFocus();
Expand Down

0 comments on commit 2e3f607

Please sign in to comment.