]> cloud.milkyroute.net Git - dolphin.git/commit
Fix "show hidden files" issues
authorPeter Penz <peter.penz19@gmail.com>
Thu, 8 Dec 2011 10:05:27 +0000 (11:05 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 8 Dec 2011 10:13:28 +0000 (11:13 +0100)
commit2827b96d9817252c22ae6f788f4d073303178cea
tree41491b7f49edc715512e42a1beffaf3e40eec0a3
parentd5bfe1863cd4c741b7b2a1afcad5cccf159e916b
Fix "show hidden files" issues

Use KFileItemModel instead of KDirLister for toggling the whether
hidden files should be shown. This assures that the signal
KFileItemModel::loadingCompleted() will be emitted.

In the longterm Dolphin should only use the KFileItemModel, so that
the KDirLister instance is used only internally as implementation
detail in KFileItemModel. Although there are only a few cases left
where KDirLister is used instead of KFileItemModel this cleanup
will be postponed to after the 4.8 release...

BUG: 287314
BUG: 288213
FIXED-IN: 4.8.0
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kfileitemmodel.h
src/panels/folders/folderspanel.cpp
src/views/dolphinview.cpp