summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qaction/tst_qaction.cpp
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-02-09 16:24:39 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-04-30 18:30:16 +0200
commitec449a83799b9c0872f4324161a8bed19fa7dc61 (patch)
tree078bdbb48afc0304bcf0ce7c15b686ad521e94b2 /tests/auto/widgets/kernel/qaction/tst_qaction.cpp
parent800024a42a1c520a1aef0418a42b6e587b602c0d (diff)
tst_QAction::disableShortcutsWithBlockedWidgets remove setActiveWindow
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 as made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: Iea02f308c3357ddcb8f52527031b9417d8a175d7 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel/qaction/tst_qaction.cpp')
-rw-r--r--tests/auto/widgets/kernel/qaction/tst_qaction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/kernel/qaction/tst_qaction.cpp b/tests/auto/widgets/kernel/qaction/tst_qaction.cpp
index b02bf42b2a..2820fd710b 100644
--- a/tests/auto/widgets/kernel/qaction/tst_qaction.cpp
+++ b/tests/auto/widgets/kernel/qaction/tst_qaction.cpp
@@ -350,7 +350,6 @@ void tst_QAction::disableShortcutsWithBlockedWidgets()
dialog.show();
QVERIFY(QTest::qWaitForWindowExposed(&dialog));
- QApplicationPrivate::setActiveWindow(&window);
QVERIFY(QTest::qWaitForWindowActive(&window));
QSignalSpy spy(&action, &QAction::triggered);