qt5base-lts/tests/auto/gui/itemmodels/qstandarditemmodel
Jesus Fernandez 763b0a68be Fix QStandardItem::setChild crash when passing a null pointer
Passing a null pointer as a parameter to the setChild function no
longer crashes when calling the
QStandardItemModelPrivate::itemChanged signal. The child is removed
from the model.
The patch also fixes the behavior of deleting a item. A
dataChanged signal is emitted.

Change-Id: I027e8b0d84fe33c5fca056df870f0e60a020824b
Reviewed-by: David Faure <david.faure@kdab.com>
2017-07-27 19:41:06 +00:00
..
.gitignore Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00
qstandarditemmodel.pro QStandardItemModel: Reset the flags on clear() 2016-02-17 11:39:13 +00:00
tst_qstandarditemmodel.cpp Fix QStandardItem::setChild crash when passing a null pointer 2017-07-27 19:41:06 +00:00