qt6-bb10/tests/auto/widgets/widgets
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
..
qabstractbutton Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qabstractscrollarea Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qabstractslider Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qabstractspinbox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qbuttongroup Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qcalendarwidget Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qcheckbox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qcombobox Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qcommandlinkbutton Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qdatetimeedit Fix use of 0 as null pointer in tst_QDateTimeEdit 2022-09-20 19:47:34 +02:00
qdial Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qdialogbuttonbox Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qdockwidget tests: skip two tests in tst_QDockWidget on Wayland 2022-10-07 13:20:24 +02:00
qdoublespinbox Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qfocusframe Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qfontcombobox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qframe Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qgroupbox Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qkeysequenceedit Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qlabel Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qlcdnumber Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qlineedit Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmainwindow Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmdiarea Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmdisubwindow Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
qmenu Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmenubar Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qopenglwidget Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qplaintextedit Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qprogressbar Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qpushbutton Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qradiobutton Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qscrollarea Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qscrollbar Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qsizegrip Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qslider Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qspinbox Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qsplashscreen Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qsplitter Fix memory leak and clean up splitter test 2022-10-14 16:34:47 +02:00
qstackedwidget Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qstatusbar Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtabbar Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtabwidget Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtextbrowser Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
qtextedit Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qtoolbar Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qtoolbox Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qtoolbutton Deprecate QApplication::setActiveWindow() and mark as internal 2022-08-27 20:22:29 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00