Review Request 109471: Fix Bug 312014 - testing: group by file does not work correctly
Emmanuel Pescosta
emmanuelpescosta099 at gmail.com
Tue Jun 18 12:11:00 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109471/
-----------------------------------------------------------
(Updated June 18, 2013, 11:10 a.m.)
Status
------
This change has been discarded.
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/20130618/174bccf9/attachment.htm>
More information about the kfm-devel
mailing list