diff options
author | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-02-06 12:43:37 +0100 |
---|---|---|
committer | Frédéric Lefebvre <frederic.lefebvre@qt.io> | 2024-04-29 16:12:01 +0200 |
commit | ab664ea01a398e16b8c462d7af0cdb91e35021cd (patch) | |
tree | 1750dd3d9ca5ab0b32602e09ea6eae7933dc387c /tests/auto/widgets/util/qcompleter | |
parent | d32360cbca426b1c213290dc6a3486ee47669319 (diff) |
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 <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/widgets/util/qcompleter')
-rw-r--r-- | tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp | 1 |
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 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()); |