From: Peter Penz Date: Sun, 6 Feb 2011 12:44:30 +0000 (+0100) Subject: Fix issue that filenamesearch: is used instead of nepmuksearch: X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0b925e0231755f585afce75d42920b6c76df5381 Fix issue that filenamesearch: is used instead of nepmuksearch: --- diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index dfffff4bb..e3024b6e0 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -119,7 +119,7 @@ KUrl DolphinSearchBox::urlForSearching() const { KUrl url; const DolphinSearchInformation& searchInfo = DolphinSearchInformation::instance(); - if (searchInfo.isIndexingEnabled() && searchInfo.isPathIndexed(url)) { + if (searchInfo.isIndexingEnabled() && searchInfo.isPathIndexed(m_searchPath)) { url = nepomukUrlForSearching(); } else { url.setProtocol("filenamesearch");