diff --git a/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp b/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp index e608db6276b194a631f78b6794b4c237141d76fa..f31308e6181cbd361e1ec16a38ad1db4903084b8 100644 --- a/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp +++ b/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp @@ -264,12 +264,12 @@ bool QmlPropertyChangesObject::hasActionForProperty(const QString &propertyName) actionIterator != m_qmlActionList.end(); ++actionIterator) { QDeclarativeAction &qmlAction = *actionIterator; - if (qmlAction.specifiedProperty == propertyName) { - return true; + if (qmlAction.specifiedProperty == propertyName) { + return true; + } } - } - return false; + return false; } QDeclarativeAction &QmlPropertyChangesObject::qmlActionForProperty(const QString &propertyName) const