[Kmymoney-devel] [kmymoney4] [Bug 335129] Wrong account ordering at home page

Cristian Oneț onet.cristian at gmail.com
Sun May 25 14:14:02 UTC 2014


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

Cristian Oneț <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/e212103d46f3b4a5b37f4c
                   |                            |94ebd8b3271993abd1

--- Comment #2 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit e212103d46f3b4a5b37f4c94ebd8b3271993abd1 by Cristian Oneț.
Committed on 25/05/2014 at 14:07.
Pushed by conet into branch 'master'.

Account ordering by name on the home page is now locale aware.

Since QMap does not allow setting the comparator function for each
instance of the map (qMapLessThanKey is for the whole class) we droped
using it just to obtain a collection ordered by the account name.
Use an account list instead and sort it using the proper comparator
before rendering it.

M  +29   -48   kmymoney/views/khomeview.cpp

http://commits.kde.org/kmymoney/e212103d46f3b4a5b37f4c94ebd8b3271993abd1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list