qt5base-lts/tests/auto/corelib/itemmodels
Wang ChunLin 8455bfee76 Fix QSFPM not emitting dataChanged when source model is set
QSortFilterProxyModel did not emit dataChanged when calling
setSourceModel() after modifying the source model.
QSortFilterProxyModel::setSourceModel and
QSortFilterProxyModelPrivate::_q_sourceReset(), _q_clearMapping
is called to delete the source_index_mapping. They also need to
call create_mapping function to re-create it.

Fixes: QTBUG-87781
Pick-to: 5.15
Change-Id: Idbe34696c9d3a2fbf354b653c870bac61378811d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-18 20:57:48 +01:00
..
qabstractitemmodel Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qabstractproxymodel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qconcatenatetablesproxymodel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qidentityproxymodel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qitemmodel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qitemselectionmodel Remove QItemSelectionRange's operator<() 2020-10-28 15:27:37 +01:00
qsortfilterproxymodel_common Fix QSFPM not emitting dataChanged when source model is set 2020-11-18 20:57:48 +01:00
qsortfilterproxymodel_recursive Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qsortfilterproxymodel_regularexpression CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qstringlistmodel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtransposeproxymodel CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00
itemmodels.pro Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00