summaryrefslogtreecommitdiff
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-10-19 14:29:57 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-10-19 14:30:11 +1000
commite92730ceebb4aa96704052236d45938a82c03dd8 (patch)
treec49b5b0f70e0a7d435253b100d4d765297e118d6 /src/declarative/qml
parent121f28073fd9d71ec7da632c90e582a41e1929e5 (diff)
downloadqt4-tools-e92730ceebb4aa96704052236d45938a82c03dd8.tar.gz
Call the correct vme meta object when connecting alias signals
Task-number: QTCREATORBUG-2769
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeproperty.cpp b/src/declarative/qml/qdeclarativeproperty.cpp
index b5fb619e1a..1395e975ec 100644
--- a/src/declarative/qml/qdeclarativeproperty.cpp
+++ b/src/declarative/qml/qdeclarativeproperty.cpp
@@ -1408,8 +1408,8 @@ static inline void flush_vme_signal(const QObject *object, int index)
int methodOffset = metaObject->methodOffset();
while (methodOffset > index) {
- methodOffset -= QMetaObject_methods(metaObject);
metaObject = metaObject->d.superdata;
+ methodOffset -= QMetaObject_methods(metaObject);
}
QDeclarativeVMEMetaObject *vme =