From 5e73f9a73c18948d2aa7b47e4307cdb358925333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Lefebvre?= Date: Fri, 9 Feb 2024 14:49:27 +0100 Subject: [PATCH] tst_QMdiArea::changeWindowTitle() remove setActiveWindow() 2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 has made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: I22c7b573a4a9dc78047d2d6354591d7cea92cb23 Reviewed-by: Axel Spoerl --- tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp index fb653e01c84..d7708350966 100644 --- a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp +++ b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp @@ -659,7 +659,6 @@ void tst_QMdiArea::changeWindowTitle() #endif mw->show(); - QApplicationPrivate::setActiveWindow(mw); #ifdef USE_SHOW mw->showFullScreen();