]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/folders/folderspanel.cpp
fix padding in places view
[dolphin.git] / src / panels / folders / folderspanel.cpp
index 88083e7a2563d5d3289c983c91638532139e35cb..82b2e1b126da03cec2f9491491feef6a67ddf7f4 100644 (file)
@@ -131,6 +131,7 @@ 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