summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-22 07:49:07 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-22 07:49:07 (GMT)
commit95e370e53e24cf4210bdea07022a7c4d94cd8854 (patch)
treec597bb0cddb940ed865aa2009a520b3f5c14653e /src/declarative
parent2b1438567cd570f02e70486f7fa173b11b571843 (diff)
downloadQt-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.cpp2
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 =