]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Assure that the items within the "Others" group are sorted too, when sorting by name...
authorPeter Penz <peter.penz19@gmail.com>
Sat, 20 Dec 2008 12:54:46 +0000 (12:54 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 20 Dec 2008 12:54:46 +0000 (12:54 +0000)
@Rafael: Could you please have a look whether this patch is OK? It fixes bug 173027 but it is unclear for me why the deleted lines had been added at all. Thanks :-)

CCMAIL: ereslibre@kde.org
BUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=899245

src/dolphinmodel.cpp

index d2157297726aac1e184577074d7ffdb9ae43a16c..9b77781b8b18dc472a67e95161e23539a4cce850 100644 (file)
@@ -354,10 +354,6 @@ QVariant DolphinModel::sortRoleData(const QModelIndex& index) const
     switch (index.column()) {
     case KDirModel::Name: {
         retVariant = data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole);
-
-        if (retVariant == i18nc("@title:group Name", others)) {
-            retVariant = QString(QChar(QChar::ReplacementCharacter));
-        }
         break;
     }