From 009535d910180ae7293d784d37543e5e1a1782fe Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Sat, 28 May 2011 00:17:17 +0200 Subject: [PATCH] Fix build failure if Nepomuk is not available. Thanks to Krzysztof Nowicki for the patch! BUG: 274297 --- src/dolphinmainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.47.3