diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-02 06:14:27 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-02 06:14:27 (GMT) |
commit | 49bceaf197a5964f244ac094aaa75b35cf3ada49 (patch) | |
tree | 37428a137a608757d4a1c548decf6ff46f1b67f9 /src/declarative/qml/qmlvme.cpp | |
parent | ba13a6003d95f9d07f94bdb0e210e0c0453d8b80 (diff) | |
download | Qt-49bceaf197a5964f244ac094aaa75b35cf3ada49.zip Qt-49bceaf197a5964f244ac094aaa75b35cf3ada49.tar.gz Qt-49bceaf197a5964f244ac094aaa75b35cf3ada49.tar.bz2 |
Initial property aliasing support
Currently very basic - the only alias "script" that is allowed is Id.property
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r-- | src/declarative/qml/qmlvme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp index 962d917..0f49e1e 100644 --- a/src/declarative/qml/qmlvme.cpp +++ b/src/declarative/qml/qmlvme.cpp @@ -240,7 +240,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, comp); + new QmlVMEMetaObject(target, synthesizedMetaObjects.at(instr.storeMeta.data), &comp->primitives, instr.storeMeta.slotData, (instr.storeMeta.aliasData != -1)?datas.at(instr.storeMeta.aliasData):QByteArray(), comp); } break; |