summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-19 23:06:36 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-19 23:06:36 (GMT)
commitb6f85c59d1cd45a4df57440b9d39659d2646223e (patch)
treee2d34780f79821eb41d3dcc978a5e4aa656fc79e /src/declarative/qml
parentdff083ccb6971fa28d838493353857783297b4a9 (diff)
parent1dc2e92b4630a0c19d1d2bdf5a05cd18003c566a (diff)
downloadQt-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.cpp5
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;