From f2d61b242d0b48eccea14c16cd970e04a32d06d5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 20 Dec 2008 12:54:46 +0000 Subject: [PATCH] Assure that the items within the "Others" group are sorted too, when sorting by name and using categorization. @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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dolphinmodel.cpp b/src/dolphinmodel.cpp index d21572977..9b77781b8 100644 --- a/src/dolphinmodel.cpp +++ b/src/dolphinmodel.cpp @@ -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; } -- 2.47.3