Commit ab1d1dae authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Remove exception

An invalid model node has as valid internal node
that can be used.

Change-Id: I4b4f11546645455cbcc058e057402e869b0ae5a1
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent 6745536f
......@@ -749,10 +749,6 @@ bool operator <(const ModelNode &firstNode, const ModelNode &secondNode)
Internal::InternalNodePointer ModelNode::internalNode() const
if (!isValid()) {
Q_ASSERT_X(isValid(), Q_FUNC_INFO, "model node is invalid");
throw InvalidModelNodeException(__LINE__, __FUNCTION__, __FILE__);
return m_internalNode;
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