From: Peter Penz Date: Sun, 4 Mar 2007 00:39:21 +0000 (+0000) Subject: Per default turn off the information panel and the tree view panel for the first... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/9470a816eb578de47abe39788db5ea73fb22232e 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 --- 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()