KSortFilterProxyModel: Port tests, fix sortRoleName
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