From: Rafael Fernández López Date: Tue, 26 Aug 2008 23:42:53 +0000 (+0000) Subject: Do not create with Save flag. OMG, this is a very bad problem of XMLGUI... if you... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/78b45e3d6a9bb56a4b483dd1f9823a02b9ceb8d0?ds=inline Do not create with Save flag. OMG, this is a very bad problem of XMLGUI... if you set that flag (which needs to be done before createGUI, it will go to setAutoSaveSettings from KMainWindow, which will apply the personal preferences of toolbars etc... of a NON EXISTANT GUI !. So take out this parameter from here... since we are calling anyway setAutoSaveSettings couple lines after. I wonder if we should encourage people to not use Save flag, or we should fix this into XMLGUI. CCMAIL: peter.penz@gmx.at CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=852998 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 75d0a059f..6d1599f82 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -838,7 +838,7 @@ void DolphinMainWindow::init() setCentralWidget(centralWidget); setupDockWidgets(); - setupGUI(Keys | Save | Create | ToolBar); + setupGUI(Keys | Create | ToolBar); createGUI(); stateChanged("new_file");