mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Properly compare strings
No need to modify the strings to ignore the casing
This commit is contained in:
parent
1eee1935cc
commit
120d8904be
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ void ApplicationListModel::sycocaDbChanged(const QStringList &changes)
|
|||
|
||||
bool appNameLessThan(const ApplicationListModel::ApplicationData &a1, const ApplicationListModel::ApplicationData &a2)
|
||||
{
|
||||
return a1.name.toLower() < a2.name.toLower();
|
||||
return a1.name.compare(a2.name, Qt::CaseInsensitive) < 0;
|
||||
}
|
||||
|
||||
void ApplicationListModel::initWayland()
|
||||
|
|
|
|||
Loading…
Reference in a new issue