mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Fix QString use
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dee20906e3
commit
e7e58bf9ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue