Skip to content

KSortFilterProxyModel: Port tests, fix sortRoleName

ivan tkachenko requested to merge work/ratijas/sort-filter-test into master

QSortFilterProxyModel::setSortRole short-circuits on the default Qt::DisplayRole role, so it needs a manual refresh.

The call was there in all conditional branches prior to the refactoring. Put it back, it also fixes a test.

Amends c4541059

Edited by ivan tkachenko

Merge request reports