Commit ec65b525 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.instances: remove non critical asserts

We can handle this case, now.
parent 0adf7373
......@@ -744,8 +744,6 @@ QObject *createComponent(const QString &componentPath, QDeclarativeContext *cont
tweakObjects(object);
component.completeCreate();
Q_ASSERT(QDeclarativeEngine::contextForObject(object));
return object;
}
......@@ -770,8 +768,6 @@ QObject *createPrimitive(const QString &typeName, int majorNumber, int minorNumb
if (object && context)
QDeclarativeEngine::setContextForObject(object, context);
Q_ASSERT(QDeclarativeEngine::contextForObject(object));
return object;
}
......
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