diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-26 07:23:16 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-26 07:23:16 (GMT) |
commit | 59c3a7ca89742992e3737e8bb03c7e3eacf578e1 (patch) | |
tree | c922331c3da52eadc9ff20e2b2b264d59f706d60 /src/declarative/qml | |
parent | b227da8a17cd7b0facc3491d645209e277cb64b7 (diff) | |
download | Qt-59c3a7ca89742992e3737e8bb03c7e3eacf578e1.zip Qt-59c3a7ca89742992e3737e8bb03c7e3eacf578e1.tar.gz Qt-59c3a7ca89742992e3737e8bb03c7e3eacf578e1.tar.bz2 |
Remove unnecessary condition
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qmlvme.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp index 348a706..07165ec 100644 --- a/src/declarative/qml/qmlvme.cpp +++ b/src/declarative/qml/qmlvme.cpp @@ -604,15 +604,6 @@ QObject *QmlVME::run(QmlContext *ctxt, QmlCompiledComponent *comp, int start, in QMetaObject::connect(target, prop.coreIndex(), assign, method.methodIndex()); - } else if (prop.type() & QmlMetaProperty::Property) { - // ### FIXME - /* - instr.type = QmlInstruction::AssignObject; - instr.assignObject.castValue = 0; - instr.assignObject.property = sigIdx; - --ii; - */ - VME_EXCEPTION("Cannot assign an object to signal property" << pr); } else { VME_EXCEPTION("Cannot assign an object to signal property" << pr); } |