diff --git a/src/gui/search/searchwidget.cpp b/src/gui/search/searchwidget.cpp index a8aa3c47e..70bc4cade 100644 --- a/src/gui/search/searchwidget.cpp +++ b/src/gui/search/searchwidget.cpp @@ -129,7 +129,7 @@ void SearchWidget::fillCatCombobox() QList tmpList; foreach (const QString &cat, m_searchEngine->supportedCategories()) tmpList << qMakePair(SearchEngine::categoryFullName(cat), cat); - std::sort(tmpList.begin(), tmpList.end(), [](const QStrPair &l, const QStrPair &r) { return (l.first < r.first); } ); + std::sort(tmpList.begin(), tmpList.end(), [](const QStrPair &l, const QStrPair &r) { return (QString::localeAwareCompare(l.first, r.first) < 0); }); foreach (const QStrPair &p, tmpList) { qDebug("Supported category: %s", qPrintable(p.second));