From 01fc5c9cd87db2b880565514d53a9e78ebd9f090 Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Wed, 11 May 2011 18:47:44 +0200 Subject: [PATCH] Fix build: Only compile code using Nepomuk #ifdef HAVE_NEPOMUK. Actually HAVE_NEPOMUK should be defined here, but it isn't. This seems to be some bug in the buildsystem. CCMAIL: peter.penz19@gmail.com --- src/search/dolphinsearchbox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 3a6120d41..c4cc2cfc3 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -404,9 +404,13 @@ KUrl DolphinSearchBox::nepomukUrlForSearching() const void DolphinSearchBox::applyReadOnlyState() { +#ifdef HAVE_NEPOMUK if (m_readOnly) { m_searchLabel->setText(Nepomuk::Query::Query::titleFromQueryUrl(m_readOnlyQuery)); } else { +#else + { +#endif m_searchLabel->setText(i18nc("@label:textbox", "Find:")); } -- 2.47.3