summaryrefslogtreecommitdiffstats
path: root/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qthelper.cpp')
-rw-r--r--qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qthelper.cpp b/qthelper.cpp
index 6769e8abe..e165e85ad 100644
--- a/qthelper.cpp
+++ b/qthelper.cpp
@@ -308,7 +308,7 @@ extern "C" bool string_sequence_contains(const char *string_sequence, const char
QString stringSequence(string_sequence);
QStringList strings = stringSequence.split(",", QString::SkipEmptyParts);
- Q_FOREACH (QString string, strings) {
+ Q_FOREACH (const QString& string, strings) {
if (string.trimmed().compare(QString(text).trimmed(), Qt::CaseInsensitive) == 0)
return true;
}