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
This commit is contained in:
Rafael Fernández López 2008-08-26 23:42:53 +00:00
parent ae5b5eb9dc
commit 78b45e3d6a

View file

@ -838,7 +838,7 @@ void DolphinMainWindow::init()
setCentralWidget(centralWidget);
setupDockWidgets();
setupGUI(Keys | Save | Create | ToolBar);
setupGUI(Keys | Create | ToolBar);
createGUI();
stateChanged("new_file");