diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-10-07 22:38:47 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-10-13 16:32:31 +0000 |
commit | 147a3c27c4db8d5cb5c2cedba9a51c1bb216d307 (patch) | |
tree | 5fd2f6af06da917ca1a7fd5b6fea56fe4c269337 /src/plugins/debugger/qml/qmlengine.cpp | |
parent | d0d6f9949114c55aa728f99cb321fa0779efcf31 (diff) |
Debugger: Strip QLatin1* where possible
Change-Id: Idcab23875b5dc2ecf55e3303f417b995e2252720
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index bbd7684bf9..26647100c9 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -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); |