┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index ef3180a01..0bc6e569c 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -697,6 +697,8 @@ void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* viewContain
m_activeViewContainer = viewContainer;
m_activeViewContainer->setActive(true);
+ m_actionHandler->setCurrentView(viewContainer->view());
+
updateHistory();
updateEditActions();
updateViewActions();
@@ -705,8 +707,6 @@ void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* viewContain
const KUrl& url = m_activeViewContainer->url();
setCaption(url.fileName());
- m_actionHandler->setCurrentView(viewContainer->view());
-
emit activeViewChanged(); // TODO unused; remove?
emit urlChanged(url);
}
@@ -885,14 +885,14 @@ void DolphinMainWindow::setupDockWidgets()
connect(this, SIGNAL(urlChanged(KUrl)),
terminalWidget, SLOT(setUrl(KUrl)));
#endif
-
+
const bool firstRun = DolphinSettings::instance().generalSettings()->firstRun();
if (firstRun) {
infoDock->hide();
treeViewDock->hide();
#ifndef Q_OS_WIN
terminalDock->hide();
-#endif
+#endif
}
QDockWidget* placesDock = new QDockWidget(i18nc("@title:window", "Places"));