X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8a942bb3d32784f37eabb75aceb58c8b965c77b0..ea82a36420f68fe4e2e591e44e1147c02b3dae78:/src/dolphinmainwindow.cpp
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 1eed8c826..ad193b051 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -751,7 +751,7 @@ void DolphinMainWindow::togglePanelLockState()
void DolphinMainWindow::slotTerminalPanelVisibilityChanged()
{
- if (m_terminalPanel->isHiddenInVisibleWindow()) {
+ if (m_terminalPanel->isHiddenInVisibleWindow() && m_activeViewContainer) {
m_activeViewContainer->view()->setFocus();
}
}
@@ -1471,6 +1471,7 @@ void DolphinMainWindow::setupDockWidgets()
const QString panelWhatsThis = xi18nc("@info:whatsthis", "To show or "
"hide panels like this go to Control|Panels "
"or View|Panels.");
+#ifdef HAVE_BALOO
actionCollection()->action(QStringLiteral("show_information_panel"))
->setWhatsThis(xi18nc("@info:whatsthis", " This toggles the "
"information panel at the right side of the "
@@ -1478,6 +1479,7 @@ void DolphinMainWindow::setupDockWidgets()
"about the items your mouse is hovering over or about the selected "
"items. Otherwise it informs you about the currently viewed folder."
"For single items a preview of their contents is provided."));
+#endif
infoDock->setWhatsThis(xi18nc("@info:whatsthis", "This panel "
"provides in-depth information about the items your mouse is "
"hovering over or about the selected items. Otherwise it informs "