qt6-bb10/src/gui/itemmodels
Olivier Goffart 88b6abcebf Fix UB in QStandardItemModel
The destructor of QStandardItem needs to access the model. So we need to
destroy them before the QStrandardItemModel gets destroyed.
In the destructor of the private, it is already too late because we are
already in the ~QObject

Since the destructor of QStandardItemPrivate is now empty, remove it
completely. There is no need for QStandardItemPrivate to have a virtual
table as there are no class that inherit from it.

Change-Id: Id6639e21f277f1c4e85c3f9bc720b4f29eb16c2c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-04-23 10:11:01 +00:00
..
itemmodels.pri Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00
qstandarditemmodel.cpp Fix UB in QStandardItemModel 2017-04-23 10:11:01 +00:00
qstandarditemmodel.h Add qtguiglobal.h and qtguiglobal_p.h 2016-07-03 07:55:57 +00:00
qstandarditemmodel_p.h Fix UB in QStandardItemModel 2017-04-23 10:11:01 +00:00