┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-12-22 07:18:18 +0000
committerPeter Penz <[email protected]>2008-12-22 07:18:18 +0000
commite1ca3fc1eeafe582703f9df42267a5a20324c5a2 (patch)
tree2716bfd4e17b73622ae89c98eee48db38cbe96e9 /src
parent9f87bf8d88318e624e20182aea0c3258fcfcfab5 (diff)
revert SVN commit 899245: The patch does not work as expected.
CCMAIL: [email protected] CCBUG: 173027 svn path=/trunk/KDE/kdebase/apps/; revision=900071
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmodel.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}