┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-12-07 17:49:49 +0000
committerRafael Fernández López <[email protected]>2007-12-07 17:49:49 +0000
commitfc9a6701da13b1d4527b36f19860b34762cd4b3c (patch)
tree622aed6cb44970c086744e42fa17485aec63677a /src
parentf048b7fd6537e6427128e5d589233bfa8040e61b (diff)
Now that we changed some needed stuff at naturalCompare() method, we can set the replacementchar to put "Others" category on the last place. Now, we can actually call it
"Others" since it is placed the last one, and it is not necessary to call it "Uncategorized" because it was placed the first one before. svn path=/trunk/KDE/kdebase/apps/; revision=746061
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp
index 434a475f5..8a5b6c732 100644
--- a/src/dolphinmodel.cpp
+++ b/src/dolphinmodel.cpp
@@ -47,7 +47,7 @@
#include <QDir>
#include <QFileInfo>
-static const char *others = I18N_NOOP2("@title:group Name", "Uncategorized");
+static const char *others = I18N_NOOP2("@title:group Name", "Others");
DolphinModel::DolphinModel(QObject *parent)
: KDirModel(parent)
@@ -245,7 +245,7 @@ QVariant DolphinModel::data(const QModelIndex &index, int role) const
retVariant = data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole);
if (retVariant == i18nc("@title:group Name", others))
- retVariant = QString();
+ retVariant = QString(QChar(QChar::ReplacementCharacter));
break;
}