diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 04:11:52 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-25 04:22:27 (GMT) |
commit | 9c147ba5e39dffea91d492896cc836529715d7ac (patch) | |
tree | 4f23a5071065f65e68ee95261549f31416c66111 /src/declarative/util/qdeclarativestate.cpp | |
parent | 02248947be750a44ebcc6c765fb4d0434bbf8c96 (diff) | |
download | Qt-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/qdeclarativestate.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativestate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qdeclarativestate.cpp b/src/declarative/util/qdeclarativestate.cpp index d1dd318..3b06e33 100644 --- a/src/declarative/util/qdeclarativestate.cpp +++ b/src/declarative/util/qdeclarativestate.cpp @@ -65,11 +65,11 @@ QDeclarativeAction::QDeclarativeAction() QDeclarativeAction::QDeclarativeAction(QObject *target, const QString &propertyName, const QVariant &value) -: restore(true), actionDone(false), reverseEvent(false), deletableToBinding(false), toValue(value), fromBinding(0), - toBinding(0), event(0), specifiedObject(target), - specifiedProperty(propertyName) +: restore(true), actionDone(false), reverseEvent(false), deletableToBinding(false), + property(target, propertyName), toValue(value), + fromBinding(0), toBinding(0), event(0), + specifiedObject(target), specifiedProperty(propertyName) { - property = QDeclarativeMetaProperty::createProperty(target, propertyName); if (property.isValid()) fromValue = property.read(); } |