From d5726758b87579d7f4ff8bbf41a5f679458b1cc1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 9 Mar 2012 16:27:13 +0100 Subject: [PATCH] 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 --- src/panels/folders/folderspanel.cpp | 1 + 1 file changed, 1 insertion(+) 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. -- 2.47.3