mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
ae5b5eb9dc
commit
78b45e3d6a
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ void DolphinMainWindow::init()
|
|||
setCentralWidget(centralWidget);
|
||||
setupDockWidgets();
|
||||
|
||||
setupGUI(Keys | Save | Create | ToolBar);
|
||||
setupGUI(Keys | Create | ToolBar);
|
||||
createGUI();
|
||||
|
||||
stateChanged("new_file");
|
||||
|
|
Loading…
Reference in a new issue