┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/folders/folderspanel.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-05-26 15:10:09 +0000
committerMéven Car <[email protected]>2023-05-26 15:10:09 +0000
commita1c5c5cf81b5d1f6b7a0aa10b8a981cb70c5b26c (patch)
tree0fcfce01dcef32b1b70b084e9719cf7d9c26418d /src/panels/folders/folderspanel.cpp
parentab13c8881dafbe5beefef0db5891ce9f731ef489 (diff)
KDirectoryContentsCounter: show intermediate dir size counting results, improve stopping, improve data caching
Two user visible changes: * we can see the dir size changing as it is updated. * This makes the file counting a lot more reactive, when changing directories for instance. `KDirectoryContentsCounterWorker::walkDir` is not recursive anymore. The cache is now shared and only a single thread is used to count size recursively.
Diffstat (limited to 'src/panels/folders/folderspanel.cpp')
-rw-r--r--src/panels/folders/folderspanel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp
index 914692000..f304654cb 100644
--- a/src/panels/folders/folderspanel.cpp
+++ b/src/panels/folders/folderspanel.cpp
@@ -131,7 +131,6 @@ void FoldersPanel::showEvent(QShowEvent *event)
// This assures that no performance and memory overhead is given when the folders panel is not
// used at all and stays invisible.
KFileItemListView *view = new KFileItemListView();
- view->setScanDirectories(false);
view->setWidgetCreator(new KItemListWidgetCreator<FoldersItemListWidget>());
view->setSupportsItemExpanding(true);
// Set the opacity to 0 initially. The opacity will be increased after the loading of the initial tree