summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlvme.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-02 11:06:32 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-02 12:36:43 (GMT)
commitbdaf37f74e69f74c8fec23739e4dad23121af415 (patch)
treec84fb1a1698c926af083751d4d2112a0bcd48941 /src/declarative/qml/qmlvme.cpp
parent8491b0476a221cf136b412bda532662a69063045 (diff)
downloadQt-bdaf37f74e69f74c8fec23739e4dad23121af415.zip
Qt-bdaf37f74e69f74c8fec23739e4dad23121af415.tar.gz
Qt-bdaf37f74e69f74c8fec23739e4dad23121af415.tar.bz2
Support parameterized synthesized methods
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r--src/declarative/qml/qmlvme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp
index 0d88e02..a11caeb 100644
--- a/src/declarative/qml/qmlvme.cpp
+++ b/src/declarative/qml/qmlvme.cpp
@@ -239,7 +239,7 @@ QObject *QmlVME::run(QStack<QObject *> &stack, QmlContext *ctxt, QmlCompiledComp
case QmlInstruction::StoreMetaObject:
{
QObject *target = stack.top();
- new QmlVMEMetaObject(target, synthesizedMetaObjects.at(instr.storeMeta.data), &comp->primitives, instr.storeMeta.slotData, (instr.storeMeta.aliasData != -1)?datas.at(instr.storeMeta.aliasData):QByteArray(), comp);
+ new QmlVMEMetaObject(target, synthesizedMetaObjects.at(instr.storeMeta.data), &comp->primitives, instr.storeMeta.slotData, (const QmlVMEMetaData *)datas.at(instr.storeMeta.aliasData).constData(), comp);
}
break;