Return a normal plain Object value when Qt/Declaritive is not available.

This commit is contained in:
Roberto Raggi
2010-01-25 09:40:00 +01:00
parent eeb3107983
commit 971e4b596c

View File

@@ -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
}