qt5base-lts/tests/auto
Volker Hilsheimer 9eca8d62fa Fix memory leak and clean up splitter test
Allocate the QSplitter on the stack so that it and its child widgets are
cleaned up when the test function finishes.

As a drive-by, replace QString usage with QByteArray to avoid unneeded
conversion from and to latin1, and modernize list construction and for loop.

Pick-to: 6.4 6.2
Change-Id: I2e29961edbab1ec88be356fca6bc100f08894e82
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2022-10-14 16:34:47 +02:00
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake Replace the syncqt.pl script with syncqt tool 2022-09-27 13:12:11 +02:00
concurrent Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
corelib Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
dbus Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
gui Allow programmatic closing of windows that are modally blocked 2022-10-12 01:53:42 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
testlib Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
tools Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
wasm Fix QWasmWindowStack::topWindow when the stack is empty 2022-09-12 20:09:03 +02:00
widgets Fix memory leak and clean up splitter test 2022-10-14 16:34:47 +02:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00