[Digikam-devel] [digikam] [Bug 227530] Album-sorting gone from menus

Gilles Caulier caulier.gilles at gmail.com
Mon Mar 18 13:22:16 GMT 2013


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

Gilles Caulier <caulier.gilles at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caulier.gilles at gmail.com

--- Comment #12 from Gilles Caulier <caulier.gilles at gmail.com> ---
Some technical information from Marcel taken from a current thread in
digikam-users mailing list :

The task is not too difficult. Sorting is implemented in
AlbumFilterModel::lessThan. This method does not need to be changed if the
sort role is adjusted properly. For that, we'll need a special AlbumDateRole
in AlbumModel, and a reimplementation of albumData for that class.
In the UI, DigikamView / leftsidebarwidgets need to set the sort role on the
album model (from albummodelcollection) which is used for the left side bar.

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



More information about the Digikam-devel mailing list