From: Frank Reininghaus Date: Fri, 27 May 2011 22:17:17 +0000 (+0200) Subject: Fix build failure if Nepomuk is not available. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/009535d910180ae7293d784d37543e5e1a1782fe Fix build failure if Nepomuk is not available. Thanks to Krzysztof Nowicki for the patch! BUG: 274297 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 9324cdb21..e2cba6b7a 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -824,6 +824,7 @@ void DolphinMainWindow::find() void DolphinMainWindow::slotSearchLocationChanged() { +#ifdef HAVE_NEPOMUK QDockWidget* searchDock = findChild("searchDock"); if (!searchDock) { return; @@ -835,6 +836,7 @@ void DolphinMainWindow::slotSearchLocationChanged() ? SearchPanel::FromCurrentDir : SearchPanel::Everywhere); } +#endif } void DolphinMainWindow::updatePasteAction()