]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmodel.cpp
SVN_SILENT made messages (.desktop file)
[dolphin.git] / src / dolphinmodel.cpp
index 14d9af12b5ecddacb5b53850f9fb95fc485d2554..1cd5ad6632e038f1cadfa06c1a73154e9a971a51 100644 (file)
@@ -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;
     }