diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-22 07:49:07 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-22 07:49:07 (GMT) |
commit | 95e370e53e24cf4210bdea07022a7c4d94cd8854 (patch) | |
tree | c597bb0cddb940ed865aa2009a520b3f5c14653e /src/declarative | |
parent | 2b1438567cd570f02e70486f7fa173b11b571843 (diff) | |
download | Qt-95e370e53e24cf4210bdea07022a7c4d94cd8854.zip Qt-95e370e53e24cf4210bdea07022a7c4d94cd8854.tar.gz Qt-95e370e53e24cf4210bdea07022a7c4d94cd8854.tar.bz2 |
Use the correct context when resolving alias properties
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qmlvmemetaobject.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlvmemetaobject.cpp b/src/declarative/qml/qmlvmemetaobject.cpp index 62a2a6b..05a6f58 100644 --- a/src/declarative/qml/qmlvmemetaobject.cpp +++ b/src/declarative/qml/qmlvmemetaobject.cpp @@ -191,8 +191,6 @@ int QmlVMEMetaObject::metaCall(QMetaObject::Call c, int _id, void **a) if (id < metaData->aliasCount) { - QmlContext *ctxt = qmlContext(object); - if (!ctxt) return -1; QmlVMEMetaData::AliasData *d = metaData->aliasData() + id; QmlContextPrivate *ctxtPriv = |