Details view: Fix indicator-branches
author Peter Penz
()
committer Peter Penz
()
commit e505c3ae5a8df306992777b7ba121036a7d8933d
tree 6a968750da4f72e5e33fec2484e5c4609943db7f
parent 307cca7b31b998fb7e8af0478a8e97e53bdc059c
Details view: Fix indicator-branches

Up to now no indicator-branches have been drawn when showing a tree. The patch
fixes this so that that the style-dependent branches are drawn.

The main part of the patch is the implementation of
KItemListView::updateSiblingsInformation(). Most of the other changes are
related due to an internal renaming of the expansionsLevel-role to
expandedParentsCount and some related cleanups.

BUG: 290276
FIXED-IN: 4.8.1
12 files changed:
dolphin/src/kitemviews/kfileitemlistview.cpp
dolphin/src/kitemviews/kfileitemlistwidget.cpp
dolphin/src/kitemviews/kfileitemlistwidget.h
dolphin/src/kitemviews/kfileitemmodel.cpp
dolphin/src/kitemviews/kfileitemmodel.h
dolphin/src/kitemviews/kitemlistview.cpp
dolphin/src/kitemviews/kitemlistview.h
dolphin/src/kitemviews/kitemlistwidget.cpp
dolphin/src/kitemviews/kitemlistwidget.h
dolphin/src/kitemviews/kitemmodelbase.cpp
dolphin/src/kitemviews/kitemmodelbase.h
dolphin/src/tests/kfileitemmodeltest.cpp