summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-02-06 11:34:24 +0100
committerFrédéric Lefebvre <frederic.lefebvre@qt.io>2024-04-26 18:19:38 +0200
commit0e2395dc097bdebbe07358933d332aab78396496 (patch)
treef90972549bafc27abaf2cce4fc02c6f530500527
parent08d567f4a99bc8523dbf92621e8215c002cda41c (diff)
tst_QCompleter::focusIn() remove QApplicationPrivate::setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: I129183b6e65da297d457fbebfeba940daffc9b3d Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
-rw-r--r--tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp b/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp
index 3fc82a7d11..48976a6eda 100644
--- a/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp
+++ b/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp
@@ -1105,7 +1105,6 @@ void tst_QCompleter::focusIn()
window.move(200, 200);
window.show();
window.activateWindow();
- QApplicationPrivate::setActiveWindow(&window);
QVERIFY(QTest::qWaitForWindowActive(&window));
auto comboBox = new QComboBox(&window);