QmlDesigner: Fix compiler warning

...and the indentation.

Change-Id: I1114d36ea36f17acab5a9afb35a6654380967e3e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-09-22 19:57:57 +02:00
committed by Thomas Hartmann
parent d915b22db9
commit dbec6e245f

View File

@@ -372,11 +372,12 @@ void StatesEditorView::nodeOrderChanged(const NodeListProperty &listProperty, co
void StatesEditorView::bindingPropertiesChanged(const QList<BindingProperty> &propertyList, AbstractView::PropertyChangeFlags /*propertyChange*/)
{
Q_UNUSED(propertyChange)
foreach (const BindingProperty &property, propertyList) {
if (property.name() == "when" && QmlModelState::isValidQmlModelState(property.parentModelNode()))
resetModel();
}
}
void StatesEditorView::currentStateChanged(const ModelNode &node)