]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Now that we changed some needed stuff at naturalCompare() method, we can set the...
authorRafael Fernández López <ereslibre@kde.org>
Fri, 7 Dec 2007 17:49:49 +0000 (17:49 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Fri, 7 Dec 2007 17:49:49 +0000 (17:49 +0000)
"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

src/dolphinmodel.cpp

index 434a475f5964b2b249bc080075b30703875228d5..8a5b6c73215df52b3aecf12d22eb60b1ade5bfe7 100644 (file)
@@ -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;
         }