Fixes to get the QML designer to compile against qt-qml.

This commit is contained in:
Erik Verbruggen
2010-02-08 14:29:09 +01:00
parent a6b1fb94e6
commit fcb91a7031

View File

@@ -50,7 +50,7 @@ QmlStateOperation::ActionList QmlPropertyChangesObject::actions()
ActionList list;
foreach (const QString &property, m_properties.keys()) {
Action a(m_targetObject.data(), property, m_properties.value(property));
QmlAction a(m_targetObject.data(), property, m_properties.value(property));
if (a.property.isValid()) {
a.restore = restoreEntryValues();
@@ -78,7 +78,7 @@ QmlStateOperation::ActionList QmlPropertyChangesObject::actions()
QmlMetaProperty mProperty = metaProperty(property);
if (mProperty.isValid()) {
Action a;
QmlAction a;
a.restore = restoreEntryValues();
a.property = mProperty;
a.fromValue = a.property.read();