From: Rafael Fernández López Date: Tue, 26 Aug 2008 23:51:05 +0000 (+0000) Subject: Booo... false alarm. After going to the XMLGUI code this is perfect. I also wonder... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0bca190b0efd81a24801becac65bf946b346846f?ds=inline Booo... false alarm. After going to the XMLGUI code this is perfect. I also wonder why call to setAutoSaveSettings when using Save flag, and why createGUI when using Create flag, is what setupGUI internally is doing indeed. So nah, going back and removing those unnecessary calls. Now user preferences on toolbar places and sizes of icons are obeyed. CCMAIL: peter.penz@gmx.at CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=853002 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 6d1599f82..49be1e02e 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -838,11 +838,9 @@ void DolphinMainWindow::init() setCentralWidget(centralWidget); setupDockWidgets(); - setupGUI(Keys | Create | ToolBar); - createGUI(); + setupGUI(Keys | Save | Create | ToolBar); stateChanged("new_file"); - setAutoSaveSettings(); QClipboard* clipboard = QApplication::clipboard(); connect(clipboard, SIGNAL(dataChanged()),