diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-11-12 09:21:41 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-15 11:25:09 +0100 |
commit | 7cc5fb2b53616ed2ca2b525262457fb44e2b5355 (patch) | |
tree | fdbaab790c7f41aa3ad30b617edbe47b45ee4101 /src/qml/jsruntime/qv4arraydata.cpp | |
parent | b04b5b57e92af2e036ffb65e2dd7cbba4b6c3c6a (diff) | |
download | qtdeclarative-7cc5fb2b53616ed2ca2b525262457fb44e2b5355.tar.gz |
Cleanup: remove Value::toString/Object overloads taking a context
Change-Id: I4cb63c3cc4eb9bb81f10f9826f80e581b4e1990c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4arraydata.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4arraydata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4arraydata.cpp b/src/qml/jsruntime/qv4arraydata.cpp index 20e8e8a053..a546f78b54 100644 --- a/src/qml/jsruntime/qv4arraydata.cpp +++ b/src/qml/jsruntime/qv4arraydata.cpp @@ -679,8 +679,8 @@ bool ArrayElementLessThan::operator()(Value v1, Value v2) const return result->toNumber() < 0; } - ScopedString p1s(scope, v1.toString(m_context)); - ScopedString p2s(scope, v2.toString(m_context)); + ScopedString p1s(scope, v1.toString(scope.engine)); + ScopedString p2s(scope, v2.toString(scope.engine)); return p1s->toQString() < p2s->toQString(); } |