Commit d4591dd9 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by con

QmlDesigner.nodeInstances: crash fix

PathView creates problems and we do not properly support it anyway.
We just create a dummy instance, instead.

Task-number: QTCREATORBUG-3251
Reviewed-by: Marco Bubke
parent 5d0420b1
......@@ -135,6 +135,8 @@ Internal::ObjectNodeInstance::Pointer NodeInstance::createInstance(const NodeMet
if (!metaInfo.isValid())
instance = Internal::DummyNodeInstance::create();
else if (metaInfo.isSubclassOf("Qt/PathView", 4, 7))
instance = Internal::DummyNodeInstance::create();
else if (metaInfo.isSubclassOf("Qt/QWidget", 4, 7))
instance = Internal::DummyNodeInstance::create();
else if (metaInfo.isSubclassOf("Qt/QGraphicsView", 4, 7))
......
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