tst_QMdiArea::activateNextAndPreviousWindow() remove setActiveWindow()

2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If8dff66e64395012955e293d82a1e663a6bd92cc
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
Frédéric Lefebvre 2024-02-09 14:59:55 +01:00
parent fd2b4235d3
commit 888459ff10
1 changed files with 0 additions and 1 deletions

View File

@ -1300,7 +1300,6 @@ void tst_QMdiArea::activateNextAndPreviousWindow()
{
QMdiArea workspace;
workspace.show();
QApplicationPrivate::setActiveWindow(&workspace);
const int windowCount = 10;
QMdiSubWindow *windows[windowCount];