From 147a3c27c4db8d5cb5c2cedba9a51c1bb216d307 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 7 Oct 2018 22:38:47 +0300 Subject: Debugger: Strip QLatin1* where possible Change-Id: Idcab23875b5dc2ecf55e3303f417b995e2252720 Reviewed-by: hjk --- src/plugins/debugger/qml/qmlengine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/debugger/qml/qmlengine.cpp') 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); -- cgit v1.2.1