forked from qt-creator/qt-creator
Replace QLatin1String("x") with QLatin1Char('x') where possible
Change-Id: I2f90c8ae7b5e968b9de882833f8661ab540a9232 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -162,7 +162,7 @@ QStringList FindValueOperation::findValue(const QVariant &in, const QVariant &va
|
||||
} else if (in.type() == QVariant::List) {
|
||||
QVariantList list = in.toList();
|
||||
for (int pos = 0; pos < list.count(); ++pos) {
|
||||
QString pfx = prefix + QLatin1Char('[') + QString::number(pos) + QLatin1String("]");
|
||||
QString pfx = prefix + QLatin1Char('[') + QString::number(pos) + QLatin1Char(']');
|
||||
result.append(findValue(list.at(pos), value, pfx));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user