mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
dolphin: adjust to KFileItem changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
00c8b9a1a2
commit
b8011feac9
1 changed files with 1 additions and 2 deletions
|
@ -1359,8 +1359,7 @@ int KFileItemModel::sortRoleCompare(const ItemData* a, const ItemData* b) const
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fallback #2: KFileItem::text() may not be unique in case UDS_DISPLAY_NAME is used
|
// Fallback #2: KFileItem::text() may not be unique in case UDS_DISPLAY_NAME is used
|
||||||
result = stringCompare(itemA.name(m_caseSensitivity == Qt::CaseInsensitive),
|
result = stringCompare(itemA.name(), itemB.name());
|
||||||
itemB.name(m_caseSensitivity == Qt::CaseInsensitive));
|
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue