From ab664ea01a398e16b8c462d7af0cdb91e35021cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Lefebvre?= Date: Tue, 6 Feb 2024 12:43:37 +0100 Subject: tst_QCompleter::QTBUG_14292_filesystem() remove setActiveWindow() 2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls from the end of the function. Task-number: QTBUG-121488 Change-Id: I465558f404b5bf656f5ed9c3f4b2ed605da6c6b8 Reviewed-by: Axel Spoerl --- tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/auto/widgets/util/qcompleter') diff --git a/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp b/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp index cce0fd1630..dfb46d02e9 100644 --- a/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp +++ b/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp @@ -1706,7 +1706,6 @@ void tst_QCompleter::QTBUG_14292_filesystem() QWidget w; w.move(400, 200); w.show(); - QApplicationPrivate::setActiveWindow(&w); QVERIFY(QTest::qWaitForWindowActive(&w)); QVERIFY(!edit.hasFocus() && !comp.popup()->hasFocus()); -- cgit v1.2.3