summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativepropertychanges.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/qdeclarativepropertychanges.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/qdeclarativepropertychanges.cpp')
-rw-r--r--src/declarative/util/qdeclarativepropertychanges.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativepropertychanges.cpp b/src/declarative/util/qdeclarativepropertychanges.cpp
index ad39574..6c2e256 100644
--- a/src/declarative/util/qdeclarativepropertychanges.cpp
+++ b/src/declarative/util/qdeclarativepropertychanges.cpp
@@ -348,7 +348,7 @@ QDeclarativeMetaProperty
QDeclarativePropertyChangesPrivate::property(const QByteArray &property)
{
Q_Q(QDeclarativePropertyChanges);
- QDeclarativeMetaProperty prop = QDeclarativeMetaProperty::createProperty(object, QString::fromUtf8(property));
+ QDeclarativeMetaProperty prop(object, QString::fromUtf8(property));
if (!prop.isValid()) {
qmlInfo(q) << QDeclarativePropertyChanges::tr("Cannot assign to non-existent property \"%1\"").arg(QString::fromUtf8(property));
return QDeclarativeMetaProperty();