diff options
author | Lars Knoll <[email protected]> | 2013-10-10 12:21:12 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-10-11 08:56:22 +0200 |
commit | b0e83cdc1a3a80ecc26cb31ac046b6c743238d41 (patch) | |
tree | 9170ffd694ca3e8447c36f42dc30c598b1d1da5e /src/qml/jsruntime | |
parent | 979e625dc1ff257c1793bbd7ebd8001c25a11872 (diff) |
Remove usage of String pointers where not required
Change-Id: Ia533308a1641fab263d8faa8316455e8ade1c859
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4serialize.cpp | 2 |
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(); |