diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-02-01 14:39:44 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-03 14:38:18 +0100 |
commit | 6811eeedc2a10ec7e2174fda55ea897127734275 (patch) | |
tree | de8e5d985d364ed1ad84a6f5164f419f709fb73d /src/qml/qml/qqmlobjectcreator.cpp | |
parent | 483cafccea0f1dabe89db6615da8bfbe4250e2b6 (diff) |
[new compiler] Allow function calls during initial binding evaluations and signal handlers
Functions need to be setup first, like in the VME.
Change-Id: I4d1cffa04cb2b3ba7027c3720d55133253a1bad7
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator.cpp')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp index 3530692c50..e309595397 100644 --- a/src/qml/qml/qqmlobjectcreator.cpp +++ b/src/qml/qml/qqmlobjectcreator.cpp @@ -1071,8 +1071,8 @@ bool QmlObjectCreator::populateInstance(int index, QObject *instance, QQmlRefPoi QVector<QQmlAbstractBinding*> createdBindings(_compiledObject->nBindings, 0); qSwap(_createdBindings, createdBindings); - setupBindings(); setupFunctions(); + setupBindings(); allCreatedBindings.append(_createdBindings); |