summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-01-30 10:29:45 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-04-23 09:26:08 +0200
commitc8aae7b3ba97e8841b84a658a1c8112bad3e9759 (patch)
treefd8f24ec6cfd798a8df118c639945640db4e777b
parenteeb062bce7b43af3003c42aae85009c80f018803 (diff)
tst_QFocusEvent::checkReason_ActiveWindow() remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: I4a2180c9e13140bf669753318189a58b7959b725 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
-rw-r--r--tests/auto/other/qfocusevent/tst_qfocusevent.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/other/qfocusevent/tst_qfocusevent.cpp b/tests/auto/other/qfocusevent/tst_qfocusevent.cpp
index cca5994673..8297b53ea1 100644
--- a/tests/auto/other/qfocusevent/tst_qfocusevent.cpp
+++ b/tests/auto/other/qfocusevent/tst_qfocusevent.cpp
@@ -312,7 +312,6 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
QVERIFY(QTest::qWaitForWindowExposed(d));
d->activateWindow(); // ### CDE
- QApplicationPrivate::setActiveWindow(d);
QVERIFY(QTest::qWaitForWindowActive(d));
QTRY_VERIFY(childFocusWidgetOne->focusOutEventRecieved);