diff options
Diffstat (limited to 'src/search')
| -rw-r--r-- | src/search/dolphinquery.cpp | 2 | ||||
| -rw-r--r-- | src/search/popup.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/search/dolphinquery.cpp b/src/search/dolphinquery.cpp index 4b7627846..2db574673 100644 --- a/src/search/dolphinquery.cpp +++ b/src/search/dolphinquery.cpp @@ -225,7 +225,7 @@ QUrl DolphinQuery::toUrl() const query.setSearchString(balooQueryStrings.join(QLatin1Char(' '))); - return query.toSearchUrl(QUrl::toPercentEncoding(title())); + return query.toSearchUrl(title()); } #endif diff --git a/src/search/popup.cpp b/src/search/popup.cpp index 94ec378bf..66dc4f7e4 100644 --- a/src/search/popup.cpp +++ b/src/search/popup.cpp @@ -341,6 +341,10 @@ void Popup::slotKFindButtonClicked() if (kFind) { auto *job = new KIO::ApplicationLauncherJob(kFind); job->setUrls({m_searchConfiguration->searchPath()}); + + // must hide the parent pop, so the focus switches correctly + hide(); + job->start(); return; } |
