aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-11-13 08:51:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-13 09:26:46 +0100
commit60d86d531811e0ef5a4819395418aaec9f651315 (patch)
tree885522b5c93e1157c61d043da5b8d1fad43da98f /src/qml/debugger
parent508ad2e9b3af24f453720e3a3a8b7c561944abf3 (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/qml/debugger')
-rw-r--r--src/qml/debugger/qv4debugservice.cpp6
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);
}
};