diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2017-10-05 16:20:36 +0200 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@edeltech.ch> | 2017-10-17 12:28:23 +0000 |
commit | 1382374deaa4a854aeb542e6c8f7e1841f2abb10 (patch) | |
tree | 872b27c6d22475e70cec47d75f52ce44fe19a60c /src/plugins/platforms | |
parent | d0a0a3c0418a0fdd2ed84b2a5f7e6565537715c6 (diff) |
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>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions