Commit d54be468 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Make AbstractView parameter const

Otherwise we can not past a const AbstractView in a const method.

Change-Id: I59dab8b6c5cfb3a3b56bd13f61d237a8a94df3b0
Reviewed-by: default avatarTim Jenssen <>
parent 599b72a2
......@@ -90,7 +90,7 @@ public:
ModelNode(const Internal::InternalNodePointer &internalNode, Model *model, AbstractView *view);
ModelNode(const Internal::InternalNodePointer &internalNode, Model *model, const AbstractView *view);
ModelNode(const ModelNode modelNode, AbstractView *view);
ModelNode(const ModelNode &other);
......@@ -77,10 +77,10 @@ All the manipulation functions are generating undo commands internally.
/*! \brief internal constructor
ModelNode::ModelNode(const InternalNodePointer &internalNode, Model *model, AbstractView *view):
ModelNode::ModelNode(const InternalNodePointer &internalNode, Model *model, const AbstractView *view):
Q_ASSERT(!m_model || m_view);
Supports Markdown
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