summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-26 07:23:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-26 07:23:16 (GMT)
commit59c3a7ca89742992e3737e8bb03c7e3eacf578e1 (patch)
treec922331c3da52eadc9ff20e2b2b264d59f706d60 /src/declarative/qml
parentb227da8a17cd7b0facc3491d645209e277cb64b7 (diff)
downloadQt-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.cpp9
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);
}