diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-17 06:56:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-17 06:56:15 (GMT) |
commit | fe66eaeed64402a7b22a43a85cd92c938a534b71 (patch) | |
tree | cadf2607e5192163e969e390a40ee4119893ec88 | |
parent | ef353b5754e81923358d030760cabd193a2cb248 (diff) | |
download | Qt-fe66eaeed64402a7b22a43a85cd92c938a534b71.zip Qt-fe66eaeed64402a7b22a43a85cd92c938a534b71.tar.gz Qt-fe66eaeed64402a7b22a43a85cd92c938a534b71.tar.bz2 |
Missing SetDefault instruction
-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; |