af34c64d7f
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> |
||
---|---|---|
.. | ||
bic/data | ||
cmake | ||
concurrent | ||
corelib | ||
dbus | ||
gui | ||
guiapplauncher | ||
network | ||
opengl | ||
other | ||
printsupport | ||
shared | ||
sql | ||
testlib | ||
tools | ||
wasm | ||
widgets | ||
xml | ||
CMakeLists.txt | ||
network-settings.h |