mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/folio: Use locale-aware sorting for application list
This fixes the problem that application names starting with non-English characters are placed at the end of the list.
This commit is contained in:
parent
46fb65bddc
commit
3b2033857e
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ ApplicationListSearchModel::ApplicationListSearchModel(HomeScreen *parent, Appli
|
|||
|
||||
setSortRole(ApplicationListModel::NameRole);
|
||||
setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||
setSortLocaleAware(true);
|
||||
|
||||
sort(0, Qt::AscendingOrder);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue