Commit cbe85af8 authored by Julien Wadel's avatar Julien Wadel

Sort contact list using system Locale and not unicode.

parent 439d1882
Pipeline #17102 passed with stages
in 33 minutes and 47 seconds
......@@ -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
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment