forked from qt-creator/qt-creator
Squish: Avoid crash
Change-Id: Ic4c71aecb1a53252e2df1fde862101f1da827740 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -214,7 +214,7 @@ bool ObjectsMapTreeItem::parseProperties(const QByteArray &properties)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (isspace(c)) {
|
if (QChar::isSpace(c)) {
|
||||||
if (state == Value) {
|
if (state == Value) {
|
||||||
value.append(c);
|
value.append(c);
|
||||||
} else if (state == Name) {
|
} else if (state == Name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user