diff options
| author | Sebastian Trueg <[email protected]> | 2010-11-23 08:06:22 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2010-11-23 08:06:22 +0000 |
| commit | da32e987a5e0a55889e87ec4dae4075278b93b79 (patch) | |
| tree | 089c3f3b802dedc7cfd1d85b915e644607082a31 /src | |
| parent | 0fa31487801ace7092264f6f153a5e9a13ec2275 (diff) | |
Honor the from here/everywhere setting
svn path=/trunk/KDE/kdebase/apps/; revision=1199915
Diffstat (limited to 'src')
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 32f66adb4..23d0c658a 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -349,6 +349,8 @@ KUrl DolphinSearchBox::nepomukUrlForSearching() const Nepomuk::Query::FileQuery fileQuery; fileQuery.setFileMode(Nepomuk::Query::FileQuery::QueryFiles); fileQuery.setTerm(andTerm); + if(m_fromHereButton->isChecked()) + fileQuery.addIncludeFolder(m_searchPath, false); return fileQuery.toSearchUrl(i18nc("@title UDS_DISPLAY_NAME for a KIO directory listing. %1 is the query the user entered.", "Query Results from '%1'", |
