svn path=/trunk/KDE/kdebase/apps/; revision=678063
updatePasteAction();
updateGoActions();
- loadSettings();
+ const bool split = generalSettings->splitView();
+ if (split) {
+ toggleSplitView();
+ }
+ updateSplitAction(split);
+ updateViewActions();
if (firstRun) {
// assure a proper default size if Dolphin runs the first time
emit urlChanged(homeUrl);
}
-void DolphinMainWindow::loadSettings()
-{
- GeneralSettings* settings = DolphinSettings::instance().generalSettings();
- updateSplitAction(settings->splitView());
- updateViewActions();
-}
-
void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* view)
{
Q_ASSERT((view == m_viewContainer[PrimaryView]) || (view == m_viewContainer[SecondaryView]));
private:
DolphinMainWindow(int id);
void init();
- void loadSettings();
/**
* Activates the given view, which means that