qt5base-lts/tests/auto/corelib/itemmodels
Christian Ehrlicher e15fc26e9f QSortFilterProxyModel: don't assert when old model gets destroyed
When a new model was set with setSourceModel() and the mapping was
built up, the destruction of the old model caused a reset in the
QSortFilterProxyModel which lead to an empty view or an assertion.
Now we properly disconnect the old model again and also clean up the old
mapping/persistent indexes when a new source model is set.

Task-number: QTBUG-44962
Task-number: QTBUG-67948
Task-number: QTBUG-68427
Change-Id: I2e0612899c210bde3ac0cfa59aefd78269deee5b
Reviewed-by: David Faure <david.faure@kdab.com>
2018-05-26 11:24:53 +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 the autotests 2018-01-09 21:12:58 +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 QSortFilterProxyModel: don't assert when old model gets destroyed 2018-05-26 11:24:53 +00:00
qsortfilterproxymodel_recursive QListWidgetItem/QStandardItem: pass role to dataChanged() signal 2018-01-26 19:58:26 +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