Review Request 109471: Fix Bug 312014 - testing: group by file does not work correctly

Emmanuel Pescosta emmanuelpescosta099 at gmail.com
Wed Mar 13 21:48:42 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109471/
-----------------------------------------------------------

Review request for Dolphin and Frank Reininghaus.


Description
-------

Fix wrong grouping of files (Esp. when sorting by file type)

Changes needed for master:
Add "const ItemData* parent = itemData->parent;" to retrieveData and remove the parent parameter from retrieveData.

Ideas for master:
Maybe use "void QtConcurrent::blockingMap ( Iterator begin, Iterator end, MapFunction function )" instead of a simple loop in setRoles, slotRefreshItems and createItemDataList.


This addresses bug 312014.
    http://bugs.kde.org/show_bug.cgi?id=312014


Diffs
-----

  dolphin/src/kitemviews/kfileitemmodel.h ef9dc98 
  dolphin/src/kitemviews/kfileitemmodel.cpp 7927245 

Diff: http://git.reviewboard.kde.org/r/109471/diff/


Testing
-------

Works for me.

Open a folder -> Sort by Type -> Sort by Rating -> Sort by .... -> Finally: Sort by Type (Files should be in the right file-type group)


Thanks,

Emmanuel Pescosta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20130313/9ba57bf4/attachment.htm>


More information about the kfm-devel mailing list