diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-02-01 03:23:16 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-02-01 03:23:16 (GMT) |
commit | a6f90ca4d73365d37bdc4eaf8fe15cf55fe1bf83 (patch) | |
tree | d3fe9e480c35258a2be6b44dc4bac8417a3d536e /src/declarative/util | |
parent | 7e85c6dc7ba0aaa6dfcad40dc0e9df0e2adb3741 (diff) | |
download | Qt-a6f90ca4d73365d37bdc4eaf8fe15cf55fe1bf83.zip Qt-a6f90ca4d73365d37bdc4eaf8fe15cf55fe1bf83.tar.gz Qt-a6f90ca4d73365d37bdc4eaf8fe15cf55fe1bf83.tar.bz2 |
Support animating attached properties.
Task-number: QTBUG-5580
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qmlanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index efb4159..63044bc 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -223,7 +223,7 @@ void QmlAbstractAnimationPrivate::commence() QmlMetaProperty QmlAbstractAnimationPrivate::createProperty(QObject *obj, const QString &str, QObject *infoObj) { - QmlMetaProperty prop = QmlMetaProperty::createProperty(obj, str); + QmlMetaProperty prop = QmlMetaProperty::createProperty(obj, str, qmlContext(infoObj)); if (!prop.isValid()) { qmlInfo(infoObj) << QmlAbstractAnimation::tr("Cannot animate non-existant property \"%1\"").arg(str); return QmlMetaProperty(); |