diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-06-21 22:55:13 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-22 21:24:13 +0200 |
commit | 880fdff795f403759ccdf347226828f7a5bd54ed (patch) | |
tree | 41a232cf416888652e3ff1ef8116d472621731ed /src/imports/localstorage | |
parent | 957fe59e2b4f0fcb258fcd48d27ed98a1ed2a18b (diff) |
Remove context parameter from Managed::getIndexed
Change-Id: Ibc6271dbe789ef5ed063d8650ee36978f7c18021
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/imports/localstorage')
-rw-r--r-- | src/imports/localstorage/plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp index 1c57b03b54..131de2b7bb 100644 --- a/src/imports/localstorage/plugin.cpp +++ b/src/imports/localstorage/plugin.cpp @@ -104,7 +104,7 @@ public: ~QQmlSqlDatabaseWrapper() { } - static Value getIndexed(Managed *m, ExecutionContext *ctx, uint index, bool *hasProperty); + static Value getIndexed(Managed *m, uint index, bool *hasProperty); static void destroy(Managed *that) { static_cast<QQmlSqlDatabaseWrapper *>(that)->~QQmlSqlDatabaseWrapper(); } @@ -216,13 +216,13 @@ static Value qmlsqldatabase_rows_index(QQmlSqlDatabaseWrapper *r, ExecutionEngin } } -Value QQmlSqlDatabaseWrapper::getIndexed(Managed *m, ExecutionContext *ctx, uint index, bool *hasProperty) +Value QQmlSqlDatabaseWrapper::getIndexed(Managed *m, uint index, bool *hasProperty) { QQmlSqlDatabaseWrapper *r = m->as<QQmlSqlDatabaseWrapper>(); if (!r || r->type != QQmlSqlDatabaseWrapper::Rows) - return Object::getIndexed(m, ctx, index, hasProperty); + return Object::getIndexed(m, index, hasProperty); - return qmlsqldatabase_rows_index(r, ctx->engine, index, hasProperty); + return qmlsqldatabase_rows_index(r, m->engine(), index, hasProperty); } static Value qmlsqldatabase_rows_item(SimpleCallContext *ctx) |