From: Kai Uwe Broulik Date: Tue, 25 Jun 2019 13:26:59 +0000 (+0200) Subject: Fix crash without baloo X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/5d83ceeb339c56e6b9a241e809cff2dd0a260fcb Fix crash without baloo --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 1eed8c826..19f790662 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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 "