From: Andreas Hartmetz Date: Wed, 11 May 2011 16:47:44 +0000 (+0200) Subject: Fix build: Only compile code using Nepomuk #ifdef HAVE_NEPOMUK. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/01fc5c9cd87db2b880565514d53a9e78ebd9f090 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 --- 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:")); }