mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 22:58:15 +00:00
Sort contact list using system Locale and not unicode.
This commit is contained in:
parent
439d188222
commit
cbe85af852
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ bool ContactsListProxyModel::lessThan (const QModelIndex &left, const QModelInde
|
|||
// Sort by weight and name.
|
||||
return weightA > weightB || (
|
||||
weightA == weightB &&
|
||||
contactA->mLinphoneFriend->getName() <= contactB->mLinphoneFriend->getName()
|
||||
QString::localeAwareCompare(Utils::coreStringToAppString(contactA->mLinphoneFriend->getName()), Utils::coreStringToAppString(contactB->mLinphoneFriend->getName())) <= 0
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue