X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/564dcb08fd0f6fe23d55bd8216af4e5295abf099..466868efa81ea7597f96d06ff1e2015f4ff8169a:/src/search/dolphinsearchbox.cpp diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index c178c43c7..e6b738a93 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -448,13 +448,15 @@ KUrl DolphinSearchBox::balooUrlForSearching() const if (m_contentButton->isChecked()) { query.setSearchString(text); } else { - term.addSubTerm(Baloo::Term("filename", text)); + term.addSubTerm(Baloo::Term(QLatin1String("filename"), text)); } if (m_fromHereButton->isChecked()) { query.addCustomOption("includeFolder", m_searchPath.toLocalFile()); } + query.setTerm(term); + return query.toSearchUrl(i18nc("@title UDS_DISPLAY_NAME for a KIO directory listing. %1 is the query the user entered.", "Query Results from '%1'", text)); #else