diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-19 23:06:36 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-19 23:06:36 (GMT) |
commit | b6f85c59d1cd45a4df57440b9d39659d2646223e (patch) | |
tree | e2d34780f79821eb41d3dcc978a5e4aa656fc79e /src/declarative/qml | |
parent | dff083ccb6971fa28d838493353857783297b4a9 (diff) | |
parent | 1dc2e92b4630a0c19d1d2bdf5a05cd18003c566a (diff) | |
download | Qt-b6f85c59d1cd45a4df57440b9d39659d2646223e.zip Qt-b6f85c59d1cd45a4df57440b9d39659d2646223e.tar.gz Qt-b6f85c59d1cd45a4df57440b9d39659d2646223e.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qmlcompiler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp index 220c464..138be29 100644 --- a/src/declarative/qml/qmlcompiler.cpp +++ b/src/declarative/qml/qmlcompiler.cpp @@ -903,6 +903,11 @@ void QmlCompiler::genComponent(QmlParser::Object *obj) genObject(root); + QmlInstruction def; + init.line = 0; + def.type = QmlInstruction::SetDefault; + output->bytecode << def; + output->bytecode[count - 1].createComponent.count = output->bytecode.count() - count; |