X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/9f87bf8d88318e624e20182aea0c3258fcfcfab5..46483d7c082bf6ec0044b08469757de8a0c08360:/src/dolphinmodel.cpp diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index 14d9af12b..1cd5ad663 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -351,6 +351,10 @@ QVariant DolphinModel::sortRoleData(const QModelIndex& index) const switch (index.column()) { case KDirModel::Name: { retVariant = data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole); + if (retVariant == i18nc("@title:group Name", m_others)) { + // assure that the "Others" group is always the last categorization + retVariant = QString(QChar(QChar::ReplacementCharacter)); + } break; }