┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-12-20 12:54:46 +0000
committerPeter Penz <[email protected]>2008-12-20 12:54:46 +0000
commitf2d61b242d0b48eccea14c16cd970e04a32d06d5 (patch)
treee43507433937e6d65b29c8935d712e54369fac1d /src
parentde2d93b068c251d5f87145c0723f08888c4ebed1 (diff)
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: [email protected] BUG: 173027 svn path=/trunk/KDE/kdebase/apps/; revision=899245
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmodel.cpp4
1 files changed, 0 insertions, 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;
}