qt5base-lts/tests/auto/gui/itemmodels/qstandarditemmodel
Samuel Gaist 1382374dea Correct QStandardItemModel::setItemData to follow QAbstractItemModel
QStandardItemModel::setItemData replaces the content of an item data
with the new values rather than updating/inserting which is
the behavior for QAbstractItemModel. This patch aims to unify the
behavior.

[ChangeLog][QtWidgets][QStandardItemModel] Fixed setItemData()
incorrectly deleting unmodified data. That behavior is not
following QAbstractItemModel's documented behavior which is
no modification of data not provided in parameter.

Task-number: QTBUG-45114
Task-number: QTBUG-10872
Change-Id: I2be40cee372b68d9f71c976548ecda6dc3011241
Reviewed-by: David Faure <david.faure@kdab.com>
2017-10-17 12:28:23 +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 Correct QStandardItemModel::setItemData to follow QAbstractItemModel 2017-10-17 12:28:23 +00:00