From: Peter Penz Date: Thu, 20 Jan 2011 16:55:53 +0000 (+0000) Subject: Stay consistent with the non-indexed searching and also return folders as search... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c9f913255502d034a8c380c07781c747e5333c59 Stay consistent with the non-indexed searching and also return folders as search-result when searching in indexed folders. CCBUG: 263724 svn path=/trunk/KDE/kdebase/apps/; revision=1215987 --- diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index f270c41ff..af0f12389 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -375,7 +375,7 @@ KUrl DolphinSearchBox::nepomukUrlForSearching() const } Nepomuk::Query::FileQuery fileQuery; - fileQuery.setFileMode(Nepomuk::Query::FileQuery::QueryFiles); + fileQuery.setFileMode(Nepomuk::Query::FileQuery::QueryFilesAndFolders); fileQuery.setTerm(andTerm); if (m_fromHereButton->isChecked()) { const bool recursive = true;