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:
@@ -200,25 +200,25 @@ QString PropertyInfo::toString() const
|
||||
}
|
||||
if (isWriteable()) {
|
||||
if (join)
|
||||
res += QLatin1String("|");
|
||||
res += QLatin1Char('|');
|
||||
res += QLatin1String("Writeable");
|
||||
join = true;
|
||||
}
|
||||
if (isList()) {
|
||||
if (join)
|
||||
res += QLatin1String("|");
|
||||
res += QLatin1Char('|');
|
||||
res += QLatin1String("ListType");
|
||||
join = true;
|
||||
}
|
||||
if (canBePointer()) {
|
||||
if (join)
|
||||
res += QLatin1String("|");
|
||||
res += QLatin1Char('|');
|
||||
res += QLatin1String("Pointer");
|
||||
join = true;
|
||||
}
|
||||
if (canBeValue()) {
|
||||
if (join)
|
||||
res += QLatin1String("|");
|
||||
res += QLatin1Char('|');
|
||||
res += QLatin1String("Value");
|
||||
join = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user