┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-03-09 16:27:13 +0100
committerPeter Penz <[email protected]>2012-03-09 16:28:35 +0100
commitd5726758b87579d7f4ff8bbf41a5f679458b1cc1 (patch)
treedb40f0b91af099eae952c9811f39aee74216a1b1
parent9035ae212d1cff2f9bf0f2bd447f9a6d33e65f41 (diff)
Folders Panel: Turn on items-expanding
Since the fix of bug 289090 the items-expanding is not automatically turned on anymore when using the DetailsMode. CCBUG: 289090
-rw-r--r--src/panels/folders/folderspanel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp
index 58dd7904d..87b0297c2 100644
--- a/src/panels/folders/folderspanel.cpp
+++ b/src/panels/folders/folderspanel.cpp
@@ -152,6 +152,7 @@ void FoldersPanel::showEvent(QShowEvent* event)
const qreal itemHeight = qMax(int(KIconLoader::SizeSmall), styleOption.fontMetrics.height());
view->setItemSize(QSizeF(-1, itemHeight + 2 * styleOption.padding));
view->setItemLayout(KFileItemListView::DetailsLayout);
+ view->setSupportsItemExpanding(true);
// Set the opacity to 0 initially. The opacity will be increased after the loading of the initial tree
// has been finished in slotLoadingCompleted(). This prevents an unnecessary animation-mess when
// opening the folders panel.