mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
de2d93b068
commit
f2d61b242d
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue