qt6-bb10/examples/widgets/itemviews/editabletreemodel
Samuel Gaist e65558c230 Fix Editable Tree Model example model rowCount and model instance leak
The rowCount method has been fixed to correctly pass the "Common error
test #3: the second column should NOT have the same children".

It also fixes the model being leaked.

Fixes: QTBUG-92178
Pick-to: 5.15
Change-Id: If92973e6f83ea9a2715bd335269f6e50d80f52c6
Reviewed-by: Luca Beldi <v.ronin@yahoo.it>
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
2021-03-29 12:09:41 +01:00
..
CMakeLists.txt CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
default.txt Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
editabletreemodel.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
editabletreemodel.qrc Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
main.cpp Cleanup EditableItemModel example 2019-01-24 20:31:55 +00:00
mainwindow.cpp Fix Editable Tree Model example model rowCount and model instance leak 2021-03-29 12:09:41 +01:00
mainwindow.h Cleanup EditableItemModel example 2019-01-24 20:31:55 +00:00
mainwindow.ui Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
treeitem.cpp Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
treeitem.h Use QList instead of QVector in examples 2020-06-23 14:01:11 +02:00
treemodel.cpp Fix Editable Tree Model example model rowCount and model instance leak 2021-03-29 12:09:41 +01:00
treemodel.h Cleanup EditableItemModel example 2019-01-24 20:31:55 +00:00