More Info

Revision 890034

(Back to digest)
 

Bug Fixes in KDE Base

David Faure committed changes in /trunk/KDE/kdelibs/kio:

Refactor of the filtering functionality in KDirLister, so that toggling one filter does emit the right added/removed items (the old logic would ignore the effect of other filters still active at the same time).

For instance toggling hidden files/dirs in okular's KFileDialog (which sets a mime filter) would not manage to remove hidden dirs like ".kde" (*), so after doing it a few times you'd have those dirs shown 4 times :)

(*) because the new logic in KDirModel bails out if the list of items to hide contains already-hidden items

File Changes

Modified 5 files
/trunk/KDE/kdelibs/kio
 
/kio/kdirlister.cpp
 
/kio/kdirlister.h
 
/kio/kdirlister_p.h
 
/tests/kdirmodeltest.cpp
 
/tests/kdirmodeltest.h
5 files changed in total