Skip to content

Commit

Permalink
tst_QWidget::tabOrderWithCompoundWidgetsNoFocusPolicy remove setActiveW
Browse files Browse the repository at this point in the history
2f6fe3a has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ieb516cc4fd02230c0ec6bb189da049c3741358dd
Reviewed-by: Axel Spoerl <[email protected]>
  • Loading branch information
Frédéric Lefebvre committed Mar 22, 2024
1 parent b84e7a6 commit 84dc1f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2687,7 +2687,6 @@ void tst_QWidget::tabOrderWithCompoundWidgetsNoFocusPolicy()
container.show();
container.activateWindow();

QApplicationPrivate::setActiveWindow(&container);
if (!QTest::qWaitForWindowActive(&container))
QSKIP("Window failed to activate, skipping test");

Expand Down

0 comments on commit 84dc1f2

Please sign in to comment.