qt5base-lts/tests/auto/corelib/itemmodels
Giuseppe D'Angelo e9ad46ed41 QSortFilterProxyModel: fix a regression
bec1854cc0 introduced a regression:
when sorting a tree model, children items would not follow the sorted
parents any more (they wouldn't be remapped correctly), resulting
in crashes.

So, the fix needs more reasoning; let's revert the fix,
but leave  the original test around for any subsequent attempt, and
introduce a new test which looks for the right behavior when
sorting trees.

This commit partially reverts bec1854cc0.

Task-number: QTBUG-43827
Change-Id: Ic83ac53aef639f870f6c36a8b4b2992f5b485b13
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Volker Krause <volker.krause@kdab.com>
2015-01-17 06:32:37 +01:00
..
qabstractitemmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qabstractproxymodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qidentityproxymodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qitemmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qitemselectionmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qsortfilterproxymodel QSortFilterProxyModel: fix a regression 2015-01-17 06:32:37 +01:00
qstringlistmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
itemmodels.pro exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00