diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-11-13 08:51:37 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-13 09:26:46 +0100 |
commit | 60d86d531811e0ef5a4819395418aaec9f651315 (patch) | |
tree | 885522b5c93e1157c61d043da5b8d1fad43da98f /src | |
parent | 508ad2e9b3af24f453720e3a3a8b7c561944abf3 (diff) |
Fix warnings about deprecated string conversions in V4-debugservice.
Change-Id: I1b45876d2016fdcf1117c4f77b33c75f7d712657
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/debugger/qv4debugservice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/debugger/qv4debugservice.cpp b/src/qml/debugger/qv4debugservice.cpp index 3b6bafdac2..400bb18edd 100644 --- a/src/qml/debugger/qv4debugservice.cpp +++ b/src/qml/debugger/qv4debugservice.cpp @@ -439,8 +439,8 @@ public: continue; QJsonObject scope; - scope["index"] = i; - scope["type"] = type; + scope[QLatin1String("index")] = i; + scope[QLatin1String("type")] = type; scopes.push_back(scope); } frame[QLatin1String("scopes")] = scopes; @@ -619,7 +619,7 @@ public: addRunning(); QJsonObject body; body.insert(QStringLiteral("V8Version"), - QStringLiteral("this is not V8, this is V4 in Qt %1").arg(QT_VERSION_STR)); + QStringLiteral("this is not V8, this is V4 in Qt %1").arg(QLatin1String(QT_VERSION_STR))); addBody(body); } }; |