forked from qt-creator/qt-creator
Return a normal plain Object value when Qt/Declaritive is not available.
This commit is contained in:
@@ -1425,11 +1425,11 @@ ObjectValue *Engine::newQmlObject(const QString &name)
|
||||
_objects.append(object);
|
||||
return object;
|
||||
}
|
||||
#endif
|
||||
|
||||
//qDebug() << name;
|
||||
|
||||
return 0;
|
||||
#else
|
||||
return newObject(/*prototype = */ 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user