[Digikam-devel] [Bug 147600] open folder - files shown in reverse order

Gilles Caulier caulier.gilles at gmail.com
Fri Jul 6 11:50:11 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147600         




------- Additional Comments From caulier.gilles gmail com  2007-07-06 12:50 -------
Steve,

Open Folder sorting file is harcoded in showfoto. Sorting is based on file date (more recent in first).

It's can be trivial to add a new option in settings dialog. 

Beginner developpers, this task is for you (:=)))

The code to patch in showfoto.cpp is in "void ShowFoto::openFolder(const KUrl& url)" where you have these lines :

    // Directory items sorting. Perhaps we need to add any settings in config dialog.
    dir.setFilter ( QDir::Files | QDir::NoSymLinks );
    dir.setSorting ( QDir::Time );

Gilles



More information about the Digikam-devel mailing list