aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4serialize.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-10-10 12:21:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-11 08:56:22 +0200
commitb0e83cdc1a3a80ecc26cb31ac046b6c743238d41 (patch)
tree9170ffd694ca3e8447c36f42dc30c598b1d1da5e /src/qml/jsruntime/qv4serialize.cpp
parent979e625dc1ff257c1793bbd7ebd8001c25a11872 (diff)
Remove usage of String pointers where not required
Change-Id: Ia533308a1641fab263d8faa8316455e8ade1c859 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4serialize.cpp')
-rw-r--r--src/qml/jsruntime/qv4serialize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4serialize.cpp b/src/qml/jsruntime/qv4serialize.cpp
index d38897c37c..53d7e4701a 100644
--- a/src/qml/jsruntime/qv4serialize.cpp
+++ b/src/qml/jsruntime/qv4serialize.cpp
@@ -281,7 +281,7 @@ void Serialize::serialize(QByteArray &data, const QV4::ValueRef v, QV8Engine *en
QV4::ExecutionContext *ctx = v4->current;
try {
- str = s->asString();
+ str = s;
val = o->get(str);
} catch (...) {
ctx->catchException();