]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Do not create with Save flag. OMG, this is a very bad problem of XMLGUI... if you...
authorRafael Fernández López <ereslibre@kde.org>
Tue, 26 Aug 2008 23:42:53 +0000 (23:42 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Tue, 26 Aug 2008 23:42:53 +0000 (23:42 +0000)
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

src/dolphinmainwindow.cpp

index 75d0a059f766ecb13b79ace19a7c818f0bc23cc5..6d1599f824100b309aed27efce42ea4e5046b7b2 100644 (file)
@@ -838,7 +838,7 @@ void DolphinMainWindow::init()
     setCentralWidget(centralWidget);
     setupDockWidgets();
 
-    setupGUI(Keys | Save | Create | ToolBar);
+    setupGUI(Keys | Create | ToolBar);
     createGUI();
 
     stateChanged("new_file");