- Removed redundant code.
BUG: 173027
svn path=/trunk/KDE/kdebase/apps/; revision=
1011495
}
}
- if (!validCategory) {
- retString = validCategory ? *currA : i18nc("@title:group Name", m_others);
- } else {
- retString = *currA;
- }
+ retString = validCategory ? *currA : i18nc("@title:group Name", m_others);
}
}
break;
retVariant = data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole);
if (retVariant == i18nc("@title:group Name", m_others)) {
// assure that the "Others" group is always the last categorization
- retVariant = QString(QChar(QChar::ReplacementCharacter));
+ retVariant = QString('Z').append(QChar::ReplacementCharacter);
}
break;
}