diff options
| author | Andreas Hartmetz <[email protected]> | 2011-05-11 18:47:44 +0200 |
|---|---|---|
| committer | Andreas Hartmetz <[email protected]> | 2011-05-11 18:47:44 +0200 |
| commit | 01fc5c9cd87db2b880565514d53a9e78ebd9f090 (patch) | |
| tree | 6415fd3661bc9637ea093f5f18e9ce91f8fd0836 | |
| parent | 3b82962f49e2cd502655dd0d6fb9196ec2b0d6ff (diff) | |
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: [email protected]
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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:")); } |
