https://bugs.kde.org/show_bug.cgi?id=404393

Christoph Feck <cf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.16.0
      Latest Commit|                            |https://commits.kde.org/kme
                   |                            |nuedit/fb171dff39c7976d8891
                   |                            |b6c9a848857439e660ff

--- Comment #5 from Christoph Feck <cf...@kde.org> ---
Git commit fb171dff39c7976d8891b6c9a848857439e660ff by Christoph Feck, on
behalf of Geon Son.
Committed on 25/04/2019 at 19:41.
Pushed by cfeck into branch 'master'.

Fix sorting to use locale-aware comparisons

In TreeItem, there are two compare functions, itemNameLessThan() and
itemDescriptionLessThan().
These two functions were using < operator to compare strings, which does
not consider the user's locale.

So change compare function to QString::localeAwareCompare()

TEST PLAN

Based on bug attachment, I add the Á and A to test it.
FIXED-IN: 5.16.0

Differential Revision: https://phabricator.kde.org/D20386

M  +4    -4    treeview.cpp

https://commits.kde.org/kmenuedit/fb171dff39c7976d8891b6c9a848857439e660ff

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to