qt5base-lts/tests/auto/corelib/itemmodels
Christian Ehrlicher 1c0fcbc887 QSortFilterProxyModel: Clear persistent indexes on source model change
When a new source model was set to QSortFilterProxyModel, the model
tried to remap the persistent indexes to the new model which was wrong.
The correct solution is to clear the persistent indexes with
_q_sourceModelDestroyed() since the old source model went away.

Task-number: QTBUG-44962
Change-Id: Id39e9ac83324250e8bfa434aae467a9206d2590e
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2017-11-30 17:29:33 +00:00
..
qabstractitemmodel QAbstractItemModel::supportedDragActions: fix regression 2017-05-31 18:54:00 +00:00
qabstractproxymodel Updated license headers 2016-01-21 18:55:18 +00:00
qidentityproxymodel tst_qidentityproxymodel: map the index to the source model 2017-09-15 13:52:10 +00:00
qitemmodel tst_qitemmodel: do not pass illegal indices to QAbstractItemModel APIs 2017-11-24 18:23:37 +00:00
qitemselectionmodel Fix missing handling of columns when merging selection ranges 2017-05-09 13:46:51 +00:00
qsortfilterproxymodel QSortFilterProxyModel: Clear persistent indexes on source model change 2017-11-30 17:29:33 +00:00
qsortfilterproxymodel_recursive Add support for recursive filtering in QSFPM 2017-03-14 21:34:37 +00:00
qstringlistmodel tst_qstringlistmodel: remove an invalid test 2017-11-24 18:23:40 +00:00
itemmodels.pro Merge remote-tracking branch 'origin/5.9' into dev 2017-03-28 09:28:31 +02:00