Commit cfdac3c8 authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix build



Change-Id: I9369dc8811bd2a4caab1de8910020e6cce563831
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 68c796e2
......@@ -470,7 +470,7 @@ void QmlModelView::otherPropertyChanged(const QmlObjectNode &/*qmlObjectNode*/,
ModelNode QmlModelView::createQmlState(const QmlDesigner::PropertyListType &propertyList)
{
QTC_ASSERT(rootModelNode().majorQtQuickVersion() < 3);
QTC_CHECK(rootModelNode().majorQtQuickVersion() < 3);
if (rootModelNode().majorQtQuickVersion() > 1) {
return createModelNode("QtQuick.State", 2, 0, propertyList);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment