diff options
| author | Frank Reininghaus <[email protected]> | 2011-05-28 00:17:17 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2011-05-28 00:17:17 +0200 |
| commit | 009535d910180ae7293d784d37543e5e1a1782fe (patch) | |
| tree | 92bda41b4f4feb32204f19d90adfce3f5c42a31a /src/dolphinmainwindow.cpp | |
| parent | 744cc7a824440b3a6169fd6f1d5c214c6c5af3f0 (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.cpp | 2 |
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() |
