From: Peter Penz Date: Sat, 20 Dec 2008 12:54:46 +0000 (+0000) Subject: Assure that the items within the "Others" group are sorted too, when sorting by name... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f2d61b242d0b48eccea14c16cd970e04a32d06d5 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 --- 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; }