diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-27 16:15:38 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-30 08:05:48 +0200 |
commit | e57c2c8a0adef8949f69195573d149237814bed1 (patch) | |
tree | 12e15bc037183967cde5278dd1c08d5c2e969977 /src/quick/items/context2d/qquickcanvasitem.cpp | |
parent | 0e36db9f1179d1bdf0710494e98ff7aee1a2d836 (diff) |
remove more uses of QV4::Value
Change-Id: I11b0b2b7626297e2c98dc77784574da4b59ba8cf
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/quick/items/context2d/qquickcanvasitem.cpp')
-rw-r--r-- | src/quick/items/context2d/qquickcanvasitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/context2d/qquickcanvasitem.cpp b/src/quick/items/context2d/qquickcanvasitem.cpp index 826feeb331..42b74f879e 100644 --- a/src/quick/items/context2d/qquickcanvasitem.cpp +++ b/src/quick/items/context2d/qquickcanvasitem.cpp @@ -663,7 +663,7 @@ void QQuickCanvasItem::updatePolish() QV4::ExecutionEngine *v4 = QQmlEnginePrivate::getV4Engine(qmlEngine(this)); QV4::Scope scope(v4); QV4::ScopedCallData callData(scope, 1); - callData->thisObject = QV4::Value::fromReturnedValue(QV4::QObjectWrapper::wrap(v4, this)); + callData->thisObject = QV4::QObjectWrapper::wrap(v4, this); foreach (int key, animationCallbacks.keys()) { QV4::ScopedFunctionObject f(scope, animationCallbacks.value(key).value()); |