Review Request 113168: Filter expanded folders

Emmanuel Pescosta emmanuelpescosta099 at gmail.com
Tue Oct 8 10:50:10 BST 2013


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

Review request for Dolphin.


Repository: kde-baseapps


Description
-------

The current filtering implementation doesn't filter out expanded directories, also
when there are no sub-items anymore and they don't match with the filter string.

With this patch the filtering is done right ;)

For example (folders a, a/b and a/b/c):
Expand a and b

a-|
  |-b-|
      |-c

Set the filter string to "b". 

  * Current implementation

a-|
  |-b-|
      |-c

  * Patched version:

a-|
  |-b


Diffs
-----

  dolphin/src/kitemviews/kfileitemmodel.h d005705 
  dolphin/src/kitemviews/kfileitemmodel.cpp ea7ac2f 
  dolphin/src/tests/kfileitemmodeltest.cpp 62ff4fa 

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


Testing
-------

Works fine for me.

Old unit tests don't pass.
New unit tests pass.


Thanks,

Emmanuel Pescosta

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


More information about the kfm-devel mailing list