]> cloud.milkyroute.net Git - dolphin.git/commit
Don't show child items of collapsed parent items
authorPeter Penz <peter.penz19@gmail.com>
Thu, 22 Dec 2011 20:46:17 +0000 (21:46 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 22 Dec 2011 20:49:53 +0000 (21:49 +0100)
commite0bbf1bf7115645a3591cdcace96682a10db3054
tree8bc381323a5875dcfc6ae76084c1e37f28eae1d4
parent42c07bebde73f35d20520716101255a29e8fc0c2
Don't show child items of collapsed parent items

If a parent item got expanded and collapsed again, KDirLister keeps
the items of the previously expanded directory. Hence inserting new
items there will result in emitting the signal newItems() and a check
must be done whether the parent is still expanded.

BUG: 289598
FIXED-IN: 4.8.0
src/kitemviews/kfileitemmodel.cpp