summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeanimation.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 04:11:52 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 04:22:27 (GMT)
commit9c147ba5e39dffea91d492896cc836529715d7ac (patch)
tree4f23a5071065f65e68ee95261549f31416c66111 /src/declarative/util/qdeclarativeanimation.cpp
parent02248947be750a44ebcc6c765fb4d0434bbf8c96 (diff)
downloadQt-9c147ba5e39dffea91d492896cc836529715d7ac.zip
Qt-9c147ba5e39dffea91d492896cc836529715d7ac.tar.gz
Qt-9c147ba5e39dffea91d492896cc836529715d7ac.tar.bz2
Remove QDeclarativeMetaProperty::createProperty() method
The behavior of createProperty() (to resolve dot properties) is now the behavior of the constructors.
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation.cpp')
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index eb3a376..9e777a0 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -156,7 +156,7 @@ void QDeclarativeAbstractAnimationPrivate::commence()
QDeclarativeMetaProperty QDeclarativeAbstractAnimationPrivate::createProperty(QObject *obj, const QString &str, QObject *infoObj)
{
- QDeclarativeMetaProperty prop = QDeclarativeMetaProperty::createProperty(obj, str, qmlContext(infoObj));
+ QDeclarativeMetaProperty prop(obj, str, qmlContext(infoObj));
if (!prop.isValid()) {
qmlInfo(infoObj) << QDeclarativeAbstractAnimation::tr("Cannot animate non-existent property \"%1\"").arg(str);
return QDeclarativeMetaProperty();