qt5base-lts/tests/auto/corelib/itemmodels
Luca Beldi ff835a5030 Fix QStringListModel::setData to check for actual changes
QStringListModel::setData documentation states that
"The dataChanged() signal is emitted if the item is changed."
This patch actually respects the doc. setData will check that the data
actually changed before sending the dataChanged signal.

[ChangeLog][QtCore][QStringListModel] setData will now emit the
dataChanged() signal only if the string set is different from
the one already contained in the model

Change-Id: I4308a6f3b4851203fb899c5e29a36076e0c32f2f
Reviewed-by: David Faure <david.faure@kdab.com>
2018-12-24 08:07:36 +00:00
..
qabstractitemmodel QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
qabstractproxymodel Add QModelIndex::siblingAtColumn and ::siblingAtRow 2018-01-12 15:12:53 +00:00
qidentityproxymodel QAbstractItemModelTester: fix out-of-bounds index() calls 2018-06-27 10:11:35 +00:00
qitemmodel Add QModelIndex::siblingAtColumn and ::siblingAtRow 2018-01-12 15:12:53 +00:00
qitemselectionmodel QItemSelectionModel: More fixes for is(Column/Row)Selected 2018-04-30 19:01:14 +00:00
qsortfilterproxymodel_common QSortFilterProxyModel: add test for inserting via a QComboBox 2018-09-06 05:56:18 +00:00
qsortfilterproxymodel_recursive QListWidgetItem/QStandardItem: pass role to dataChanged() signal 2018-01-26 19:58:26 +00:00
qsortfilterproxymodel_regexp QSFPM: don't let setFilterRegExp(QString) overwrite CaseSensitivity 2018-10-03 11:45:50 +00:00
qsortfilterproxymodel_regularexpression Add support for QRegularExpression to QSortFilterProxyModel 2018-08-19 11:38:42 +00:00
qstringlistmodel Fix QStringListModel::setData to check for actual changes 2018-12-24 08:07:36 +00:00
itemmodels.pro Fix building tests with -no-gui 2018-10-20 20:38:59 +00:00