Replace setExpanded(const QSet<KUrl>&) by expandParentItems(const KUrl&)
author Frank Reininghaus
()
committer Frank Reininghaus
()
commit 89082ca391807abdc26d8985efe6b4c27183a9b1
tree e4bb4955d49bd7c19f419ffec1d9ddfa63c68704
parent d9bc83e626dc2c789ad71c61f367495eaa2830d7
Replace setExpanded(const QSet<KUrl>&) by expandParentItems(const KUrl&)

The use case of this function (Folders Panel) requires the expansion of
the parent items of a single URL, so it's not needed to handle a full
set of URLs in this function. Moreover, the issue that not only the
parents, but also the URLs themselves were expanded is fixed by this
commit.
dolphin/src/kitemviews/kfileitemmodel.cpp
dolphin/src/kitemviews/kfileitemmodel.h
dolphin/src/panels/folders/folderspanel.cpp
dolphin/src/tests/kfileitemmodeltest.cpp