forked from qt-creator/qt-creator
QmlDesigner: Fix compiler warning
...and the indentation. Change-Id: I1114d36ea36f17acab5a9afb35a6654380967e3e Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
d915b22db9
commit
dbec6e245f
@@ -372,11 +372,12 @@ void StatesEditorView::nodeOrderChanged(const NodeListProperty &listProperty, co
|
|||||||
|
|
||||||
void StatesEditorView::bindingPropertiesChanged(const QList<BindingProperty> &propertyList, AbstractView::PropertyChangeFlags /*propertyChange*/)
|
void StatesEditorView::bindingPropertiesChanged(const QList<BindingProperty> &propertyList, AbstractView::PropertyChangeFlags /*propertyChange*/)
|
||||||
{
|
{
|
||||||
foreach (const BindingProperty &property, propertyList) {
|
Q_UNUSED(propertyChange)
|
||||||
if (property.name() == "when" && QmlModelState::isValidQmlModelState(property.parentModelNode()))
|
|
||||||
resetModel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
foreach (const BindingProperty &property, propertyList) {
|
||||||
|
if (property.name() == "when" && QmlModelState::isValidQmlModelState(property.parentModelNode()))
|
||||||
|
resetModel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void StatesEditorView::currentStateChanged(const ModelNode &node)
|
void StatesEditorView::currentStateChanged(const ModelNode &node)
|
||||||
|
Reference in New Issue
Block a user