┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2011-05-28 00:17:17 +0200
committerFrank Reininghaus <[email protected]>2011-05-28 00:17:17 +0200
commit009535d910180ae7293d784d37543e5e1a1782fe (patch)
tree92bda41b4f4feb32204f19d90adfce3f5c42a31a /src/dolphinmainwindow.cpp
parent744cc7a824440b3a6169fd6f1d5c214c6c5af3f0 (diff)
Fix build failure if Nepomuk is not available.
Thanks to Krzysztof Nowicki for the patch! BUG: 274297
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
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<QDockWidget*>("searchDock");
if (!searchDock) {
return;
@@ -835,6 +836,7 @@ void DolphinMainWindow::slotSearchLocationChanged()
? SearchPanel::FromCurrentDir
: SearchPanel::Everywhere);
}
+#endif
}
void DolphinMainWindow::updatePasteAction()