diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-06-21 23:26:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-22 21:32:34 +0200 |
commit | 40b4ff80ccd2b9dfdaf9af89a962407813e9d810 (patch) | |
tree | e1cf7984f9750e953b92c6462edcec00c7bae774 /src/qml/qml/v8/qjsvalue.cpp | |
parent | 880fdff795f403759ccdf347226828f7a5bd54ed (diff) |
Remove context parameter from Managed::get()
Change-Id: I61837e4b17d7475dcda2f31b8a293c0020930d52
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qjsvalue.cpp')
-rw-r--r-- | src/qml/qml/v8/qjsvalue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/v8/qjsvalue.cpp b/src/qml/qml/v8/qjsvalue.cpp index e2fcbfc113..28234afe89 100644 --- a/src/qml/qml/v8/qjsvalue.cpp +++ b/src/qml/qml/v8/qjsvalue.cpp @@ -803,7 +803,7 @@ QJSValue QJSValue::property(const QString& name) const s->makeIdentifier(engine->current); QV4::ExecutionContext *ctx = engine->current; try { - QV4::Value v = o->get(ctx, s); + QV4::Value v = o->get(s); return new QJSValuePrivate(engine, v); } catch (QV4::Exception &e) { e.accept(ctx); @@ -832,7 +832,7 @@ QJSValue QJSValue::property(quint32 arrayIndex) const ExecutionEngine *engine = d->engine; QV4::ExecutionContext *ctx = engine->current; try { - QV4::Value v = arrayIndex == UINT_MAX ? o->get(ctx, engine->id_uintMax) : o->getIndexed(arrayIndex); + QV4::Value v = arrayIndex == UINT_MAX ? o->get(engine->id_uintMax) : o->getIndexed(arrayIndex); return new QJSValuePrivate(engine, v); } catch (QV4::Exception &e) { e.accept(ctx); |