Q_UNUSED(previous)
Q_ASSERT(m_model->sortRole() == current);
- setSortRole(current);
+ ViewProperties props(viewPropertiesUrl());
+ props.setSortRole(current);
+
+ Q_EMIT sortRoleChanged(current);
}
void DolphinView::slotVisibleRolesChangedByHeader(const QList<QByteArray> ¤t, const QList<QByteArray> &previous)