diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-11-13 17:36:49 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-13 12:10:09 -0800 |
commit | e7e58bf9ea2aa80b6130e0201a6b365449529c60 (patch) | |
tree | 4c861f005a06dc43da67ab075b25a334e4f051ec | |
parent | dee20906e377508831a70b74aec0001f22511f5c (diff) | |
download | subsurface-e7e58bf9ea2aa80b6130e0201a6b365449529c60.tar.gz |
Fix QString use
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qthelper.cpp | 2 |
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; } |