qt5base-lts/tests/auto/widgets
Marc Mutz af34c64d7f tst_QMdiArea: port away from Q_FOREACH
These are all trivial: all are over (already or newly-made) const
local variables, albeit sometimes at the cost of an extra scope
(can't, yet, use C++20 ranged for loops with initializer).

In resizeMaximizedChildWindows(), decided to leave the container
construction as-is and use std::as_const instead (applying IILE to
make the container const would be too much churn).

In setViewMode(), removed a pointless clear() that prevented the
container from being marked const. There are no references to the
container following the clear(), and the container does not hold smart
pointers, so the clear() cannot have had non-trivial side-effects.

Pick-to: 6.6 6.5
Task-number: QTBUG-115803
Change-Id: I00ce9c12ab696de30229f3605c16313af7eafffc
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-08-07 23:56:11 +02:00
..
dialogs tst_QWizard: port away from Q_FOREACH[5/5]: CombinationsTestData ctor 2023-08-07 21:56:10 +00:00
effects CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
graphicsview tests: blacklist tst_QGraphicsItem::itemUsesExtendedStyleOption() on Wayland 2023-07-18 08:25:41 +02:00
itemviews QAbstractScrollArea: Don't include size of invisible scrollbars 2023-07-11 01:34:19 +02:00
kernel tst_QGestureRecognizer: port away from Q_FOREACH 2023-08-07 23:56:10 +02:00
styles CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
util CMake: Make widgets tests standalone projects 2023-07-05 15:09:32 +02:00
widgets tst_QMdiArea: port away from Q_FOREACH 2023-08-07 23:56:11 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00