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

QmlDesigner.NodeInstances: Don't raise exception for null object

parent f84e428f
......@@ -764,9 +764,6 @@ QObject* ObjectNodeInstance::createObject(const QString &typeName, int majorNumb
QDeclarativeEngine::setObjectOwnership(object, QDeclarativeEngine::CppOwnership);
if (object == 0)
throw InvalidNodeInstanceException(__LINE__, __FUNCTION__, __FILE__);
return object;
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