Skip to content

Commit

Permalink
tst_QToolButton::task176137_autoRepeatOfAction 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: I233fe1a3dbd3e8ab149f939ebeaaffb5abed4f43
Reviewed-by: Axel Spoerl <[email protected]>
  • Loading branch information
Frédéric Lefebvre committed May 6, 2024
1 parent 30cc8a2 commit 9c1e844
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/auto/widgets/widgets/qtoolbutton/tst_qtoolbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ void tst_QToolButton::task176137_autoRepeatOfAction()
label->move(0, 50);

mainWidget.show();
QApplicationPrivate::setActiveWindow(&mainWidget);
QVERIFY(QTest::qWaitForWindowActive(&mainWidget));

QSignalSpy spy(&action,SIGNAL(triggered()));
Expand Down

0 comments on commit 9c1e844

Please sign in to comment.