forked from qt-creator/qt-creator
QmlDesigner: Fix build with Qt 6
error: non-constant-expression cannot be narrowed from type 'qsizetype' (aka 'long long') to 'int' in initializer list Change-Id: I743f942fb0bef9f907b4facbb346264dfeaad778 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -177,7 +177,7 @@ NodeListProperty::iterator NodeListProperty::rotate(NodeListProperty::iterator f
|
|||||||
|
|
||||||
privateModel()->notifyNodeOrderChanged(m_internalNodeListProperty);
|
privateModel()->notifyNodeOrderChanged(m_internalNodeListProperty);
|
||||||
|
|
||||||
return {iter - begin, internalNodeListProperty().data(), model(), view()};
|
return {int(iter - begin), internalNodeListProperty().data(), model(), view()};
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeListProperty::reverse(NodeListProperty::iterator first, NodeListProperty::iterator last)
|
void NodeListProperty::reverse(NodeListProperty::iterator first, NodeListProperty::iterator last)
|
||||||
|
Reference in New Issue
Block a user