┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-04 00:39:21 +0000
committerPeter Penz <[email protected]>2007-03-04 00:39:21 +0000
commit9470a816eb578de47abe39788db5ea73fb22232e (patch)
tree49ce1f26d81e384dc15ad9f244b188ea075b14d2
parente26ba53471ea902d18e59a4a8fc52ccdf4c7b4ea (diff)
Per default turn off the information panel and the tree view panel for the first start of Dolphin, only show the bookmarks panel.
svn path=/trunk/KDE/kdebase/apps/; revision=639007
-rw-r--r--src/dolphinmainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index f7b7246b4..a2fe72d6e 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -1226,6 +1226,12 @@ void DolphinMainWindow::setupDockWidgets()
actionCollection()->addAction("show_folders_panel", treeViewDock->toggleViewAction());
addDockWidget(Qt::LeftDockWidgetArea, treeViewDock);
+
+ const bool firstRun = DolphinSettings::instance().generalSettings()->firstRun();
+ if (firstRun) {
+ infoDock->hide();
+ treeViewDock->hide();
+ }
}
void DolphinMainWindow::updateHistory()