qt5base-lts/tests/auto/testlib
Marc Mutz 51edc438dd tst_QAbstractItemModelTester: fix mem-leak
QThreeWidgetItems that have been removed from their parents (or the
widget) must be deleted manually. The treeWidgetModel() test forgot
that, driving asan nuts.

Code predates the beginning of the public history, so picking to all
active branches.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I139549b0bd8baf4abfb90f926f6290119471046f
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-07-18 12:13:30 +02:00
..
initmain Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
outformat Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qabstractitemmodeltester tst_QAbstractItemModelTester: fix mem-leak 2023-07-18 12:13:30 +02:00
qsignalspy CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
selftests QCOMPARE: restore compatibility with braced-init-lists 2023-07-07 12:20:50 +02:00
tostring CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move the formatting of <chrono> durations to QDebug & QtTest 2023-05-06 17:54:23 +00:00