forked from qt-creator/qt-creator
Debugger: Strip QLatin1* where possible
Change-Id: Idcab23875b5dc2ecf55e3303f417b995e2252720 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
d0d6f99491
commit
147a3c27c4
@@ -1031,7 +1031,7 @@ void QmlEngine::updateCurrentContext()
|
||||
return;
|
||||
}
|
||||
|
||||
debuggerConsole()->setContext(tr("Context:") + QLatin1Char(' ')
|
||||
debuggerConsole()->setContext(tr("Context:") + ' '
|
||||
+ (context.isEmpty() ? tr("Global QML Context") : context));
|
||||
}
|
||||
|
||||
@@ -1576,7 +1576,7 @@ QmlV8ObjectData QmlEnginePrivate::extractData(const QVariant &data) const
|
||||
objectData.value = dataMap.value(VALUE);
|
||||
|
||||
} else if (type == "string") {
|
||||
QLatin1Char quote('"');
|
||||
QChar quote('"');
|
||||
objectData.type = "string";
|
||||
objectData.value = QString(quote + dataMap.value(VALUE).toString() + quote);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user