diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-22 12:18:56 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-22 12:18:56 (GMT) |
commit | 5085d5027f168db01e60e2161d44d9445f9c7beb (patch) | |
tree | 8c356970804cc36090c5201c3a521caddad97f94 /src/declarative/qml/qmlvme.cpp | |
parent | 8d5a395e176239b7e3ee8822cb251b2e631c21de (diff) | |
download | Qt-5085d5027f168db01e60e2161d44d9445f9c7beb.zip Qt-5085d5027f168db01e60e2161d44d9445f9c7beb.tar.gz Qt-5085d5027f168db01e60e2161d44d9445f9c7beb.tar.bz2 |
Add plumbing for more advanced signal property control
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r-- | src/declarative/qml/qmlvme.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp index ca88455..d377cc3 100644 --- a/src/declarative/qml/qmlvme.cpp +++ b/src/declarative/qml/qmlvme.cpp @@ -537,11 +537,7 @@ QObject *QmlVME::run(QStack<QObject *> &stack, QmlContext *ctxt, QmlCompiledData QMetaMethod signal = target->metaObject()->method(instr.storeSignal.signalIndex); - if (signal.parameterTypes().isEmpty()) { - (void *)new QmlBoundSignal(ctxt, primitives.at(instr.storeSignal.value), target, instr.storeSignal.signalIndex, target); - } else { - (void *)new QmlBoundSignalProxy(ctxt, primitives.at(instr.storeSignal.value), target, instr.storeSignal.signalIndex, target); - } + (void *)new QmlBoundSignal(ctxt, primitives.at(instr.storeSignal.value), target, signal, target); } break; |