]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix crash without baloo
authorKai Uwe Broulik <kde@privat.broulik.de>
Tue, 25 Jun 2019 13:26:59 +0000 (15:26 +0200)
committerKai Uwe Broulik <kde@privat.broulik.de>
Tue, 25 Jun 2019 13:26:59 +0000 (15:26 +0200)
src/dolphinmainwindow.cpp

index 1eed8c8264e780b713ceddc338a20ce37b5db556..19f7906629ad75dd2145c15d2ea0b37b8c5d93e9 100644 (file)
@@ -1471,6 +1471,7 @@ void DolphinMainWindow::setupDockWidgets()
     const QString panelWhatsThis = xi18nc("@info:whatsthis", "<para>To show or "
         "hide panels like this go to <interface>Control|Panels</interface> "
         "or <interface>View|Panels</interface>.</para>");
+#ifdef HAVE_BALOO
     actionCollection()->action(QStringLiteral("show_information_panel"))
         ->setWhatsThis(xi18nc("@info:whatsthis", "<para> This toggles the "
         "<emphasis>information</emphasis> 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.<nl/>"
         "For single items a preview of their contents is provided.</para>"));
+#endif
     infoDock->setWhatsThis(xi18nc("@info:whatsthis", "<para>This panel "
         "provides in-depth information about the items your mouse is "
         "hovering over or about the selected items. Otherwise it informs "