summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-10-19 04:29:57 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-10-19 04:30:11 (GMT)
commite92730ceebb4aa96704052236d45938a82c03dd8 (patch)
treec49b5b0f70e0a7d435253b100d4d765297e118d6 /src/declarative
parent121f28073fd9d71ec7da632c90e582a41e1929e5 (diff)
downloadQt-e92730ceebb4aa96704052236d45938a82c03dd8.zip
Qt-e92730ceebb4aa96704052236d45938a82c03dd8.tar.gz
Qt-e92730ceebb4aa96704052236d45938a82c03dd8.tar.bz2
Call the correct vme meta object when connecting alias signals
Task-number: QTCREATORBUG-2769
Diffstat (limited to 'src/declarative')
-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 b5fb619..1395e97 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 =