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
This commit is contained in:
Peter Penz 2008-12-20 12:54:46 +00:00
parent de2d93b068
commit f2d61b242d

View 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;
}