mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
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
This commit is contained in:
parent
9035ae212d
commit
d5726758b8
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue