From: Sascha Peilicke Date: Thu, 14 Aug 2008 10:12:32 +0000 (+0000) Subject: Fix for show_filter_bar action of tools-menu, which is not correctly set (when the... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/817f3952e2bed820ea3b50dfdfe91ccb99dcb748?ds=inline Fix for show_filter_bar action of tools-menu, which is not correctly set (when the corresponding option is checked in the startupsettingsview) at application start-up. svn path=/trunk/KDE/kdebase/apps/; revision=846896 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 8604b0876..75d0a059f 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -855,6 +855,9 @@ void DolphinMainWindow::init() } updateViewActions(); + QAction* showFilterBarAction = actionCollection()->action("show_filter_bar"); + showFilterBarAction->setChecked(generalSettings->filterBar()); + if (firstRun) { // assure a proper default size if Dolphin runs the first time resize(750, 500);