diff options
| author | Laurent Montel <[email protected]> | 2019-09-08 09:33:41 +0200 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2019-09-08 09:33:41 +0200 |
| commit | 81065795b78e06ec679ec0589fba7082e777ef2a (patch) | |
| tree | 67acbba969c750a69734326179815474be25f42b /src/search | |
| parent | dfe713edf0c3b0b44ff18c19ebd4d616a9004f48 (diff) | |
GIT_SILENT: minor qstring optimization
Diffstat (limited to 'src/search')
| -rw-r--r-- | src/search/dolphinfacetswidget.cpp | 2 | ||||
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp index 7c0e97f86..e4388f2e7 100644 --- a/src/search/dolphinfacetswidget.cpp +++ b/src/search/dolphinfacetswidget.cpp @@ -150,7 +150,7 @@ QString DolphinFacetsWidget::ratingTerm() const terms << QStringLiteral("modified>=%1").arg(date.toString(Qt::ISODate)); } - return terms.join(QStringLiteral(" AND ")); + return terms.join(QLatin1String(" AND ")); } QString DolphinFacetsWidget::facetType() const diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index d846e5b6c..f3dd20462 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -505,7 +505,7 @@ QUrl DolphinSearchBox::balooUrlForSearching() const query.setIncludeFolder(m_searchPath.toLocalFile()); } - query.setSearchString(queryStrings.join(QStringLiteral(" "))); + query.setSearchString(queryStrings.join(QLatin1Char(' '))); 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)); |
