┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2008-08-26 23:42:53 +0000
committerRafael Fernández López <[email protected]>2008-08-26 23:42:53 +0000
commit78b45e3d6a9bb56a4b483dd1f9823a02b9ceb8d0 (patch)
tree2120a83786cea7c045f9b874e72aa8f2f692d014 /src/dolphinmainwindow.cpp
parentae5b5eb9dcb0e2d696591000331f7fa048395a4b (diff)
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: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=852998
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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");