aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-12-02 09:56:57 +0100
committerLars Knoll <lars.knoll@qt.io>2016-12-09 14:01:26 +0000
commit9de7d0e9f170ed0a4baedaa33b3a68e166901a8a (patch)
treebb11a04c3be901fe5a0cc79742588f5aed9da5eb /src/quick
parentf9b8436a07534867686627b656418d62f75ba3e5 (diff)
Change signature of QQmlBinding::create to take a FunctionObject *
This is what's in the Value in all cases anyway. Change-Id: I212c4c4076050e8d0ea4cf6f72a1683e132cd51b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/util/qquickpropertychanges.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/util/qquickpropertychanges.cpp b/src/quick/util/qquickpropertychanges.cpp
index 331ba32365..6930b3973d 100644
--- a/src/quick/util/qquickpropertychanges.cpp
+++ b/src/quick/util/qquickpropertychanges.cpp
@@ -455,7 +455,7 @@ QQuickPropertyChanges::ActionList QQuickPropertyChanges::actions()
QQmlBinding *newBinding = 0;
if (e.id != QQmlBinding::Invalid) {
QV4::Scope scope(QQmlEnginePrivate::getV4Engine(qmlEngine(this)));
- QV4::ScopedValue function(scope, QV4::FunctionObject::createQmlFunction(context, object(), d->compilationUnit->runtimeFunctions.at(e.id)));
+ QV4::ScopedFunctionObject function(scope, QV4::FunctionObject::createQmlFunction(context, object(), d->compilationUnit->runtimeFunctions.at(e.id)));
newBinding = QQmlBinding::create(&QQmlPropertyPrivate::get(prop)->core,
function, object(), context);
}