diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-02-03 09:41:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-04 18:28:48 +0100 |
commit | 799fff7e59e8c379c069523b305ea29b73f7299d (patch) | |
tree | fa566727aeaffd27fcb00c98b8c00669242c67d0 /src/qml/qml/qqmlobjectcreator_p.h | |
parent | 5a40ca19d98a76c9ab0c7a9de8f4b31fcdcd9317 (diff) |
[new compiler] Set the rootObjectInCreation flag correctly on the root object
Change-Id: Iaf96dabb1b3de81aae75953fd261dfc3b562169c
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator_p.h b/src/qml/qml/qqmlobjectcreator_p.h index 951c3a2eed..424d2e55cd 100644 --- a/src/qml/qml/qqmlobjectcreator_p.h +++ b/src/qml/qml/qqmlobjectcreator_p.h @@ -57,7 +57,7 @@ class QmlObjectCreator { Q_DECLARE_TR_FUNCTIONS(QmlObjectCreator) public: - QmlObjectCreator(QQmlContextData *contextData, QQmlCompiledData *compiledData); + QmlObjectCreator(QQmlContextData *contextData, QQmlCompiledData *compiledData, QQmlContextData *rootContext = 0); QObject *create(int subComponentIndex = -1, QObject *parent = 0); QQmlContextData *finalize(); |