┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinquery.cpp
diff options
context:
space:
mode:
authorAlexander Lohnau <[email protected]>2020-10-23 19:48:22 +0200
committerElvis Angelaccio <[email protected]>2020-10-23 18:23:06 +0000
commita24327cd50ef17b953ecb908d260b73460158107 (patch)
treeb0fdaf2b2ab6cc4df0d471b3f1e9f449be71aa33 /src/search/dolphinquery.cpp
parent360a8dd883f7e281c0a3f2ae729450790399bf3d (diff)
Compile without foreach
Diffstat (limited to 'src/search/dolphinquery.cpp')
-rw-r--r--src/search/dolphinquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search/dolphinquery.cpp b/src/search/dolphinquery.cpp
index 0e69cbf65..d1a2922e8 100644
--- a/src/search/dolphinquery.cpp
+++ b/src/search/dolphinquery.cpp
@@ -111,7 +111,7 @@ void DolphinQuery::parseBalooQuery()
QString fileName;
const QStringList subTerms = splitOutsideQuotes(query.searchString());
- foreach (const QString& subTerm, subTerms) {
+ for (const QString& subTerm : subTerms) {
const QString token = searchTermToken(subTerm);
const QString value = stripQuotes(subTerm.mid(token.length()));