diff --git a/appletbrowser/kcategorizeditemsviewmodels.cpp b/appletbrowser/kcategorizeditemsviewmodels.cpp index 709fee4d7..77396627a 100644 --- a/appletbrowser/kcategorizeditemsviewmodels.cpp +++ b/appletbrowser/kcategorizeditemsviewmodels.cpp @@ -131,7 +131,7 @@ bool DefaultItemFilterProxyModel::filterAcceptsRow(int sourceRow, bool DefaultItemFilterProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const { - return sourceModel()->data(left).toString().compare(sourceModel()->data(right).toString(), sortCaseSensitivity()) < 0; + return sourceModel()->data(left).toString().localeAwareCompare(sourceModel()->data(right).toString()) < 0; } void DefaultItemFilterProxyModel::setSearch(const QString & pattern)