qt5base-lts/tests/auto/gui/itemmodels
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
..
qstandarditem Updated license headers 2016-01-21 18:55:18 +00:00
qstandarditemmodel Fix QStandardItem::setChild crash when passing a null pointer 2017-07-27 19:41:06 +00:00
itemmodels.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00