summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-02-09 16:29:26 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-05-08 13:37:47 +0200
commita0759dd420ed8967b2547d3dcee8c82db94d9c8a (patch)
treebe06a4e959c500e33c49ac016b9d97e345a705de /tests/auto/widgets
parentc5be4026513dd35b722b1e3ceb35e5140696e1af (diff)
tst_QApplication::focusWidget() remove setActiveWindow() child section
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 as made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: Ib3b39f4bd51c87eeeebe329ada163f24390f6bc3 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
index 25ffa990b0..dfc138d8fc 100644
--- a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
+++ b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
@@ -1637,7 +1637,6 @@ void tst_QApplication::focusWidget()
QTextEdit te(&w);
w.show();
- QApplicationPrivate::setActiveWindow(&w);
QVERIFY(QTest::qWaitForWindowActive(&w));
const auto focusWidget = QApplication::focusWidget();