┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-11-06 14:33:23 +0000
committerPeter Penz <[email protected]>2010-11-06 14:33:23 +0000
commit369eb4117d1260f5c99e0c43f9b5888c4dbfe733 (patch)
treecbcddd5aac0b7424ffe03f5e4e546d2de7f4d4b2 /src/search
parent22b050a1d04e22097bc9d149e8e73b2d7fdfcdcc (diff)
Disable the filter-dock if Nepomuk is not active.
svn path=/trunk/KDE/kdebase/apps/; revision=1193611
Diffstat (limited to 'src/search')
-rw-r--r--src/search/dolphinsearchbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp
index 2e4b58d9f..6fb22fb17 100644
--- a/src/search/dolphinsearchbox.cpp
+++ b/src/search/dolphinsearchbox.cpp
@@ -80,7 +80,7 @@ QString DolphinSearchBox::text() const
void DolphinSearchBox::setSearchPath(const KUrl& url)
{
m_searchPath = url;
- m_filterButton->setVisible(isSearchPathIndexed());
+ m_filterButton->setVisible(m_nepomukActivated && isSearchPathIndexed());
}
KUrl DolphinSearchBox::searchPath() const
@@ -91,7 +91,7 @@ KUrl DolphinSearchBox::searchPath() const
KUrl DolphinSearchBox::urlForSearching() const
{
KUrl url;
- if (isSearchPathIndexed()) {
+ if (m_nepomukActivated && isSearchPathIndexed()) {
url = nepomukUrlForSearching();
} else {
url = m_searchPath;