Set up the scope chain.

This commit is contained in:
Roberto Raggi
2010-01-24 18:11:25 +01:00
parent b4a901aa1e
commit 24f5a9c0e4
3 changed files with 52 additions and 39 deletions

View File

@@ -1398,7 +1398,7 @@ void Engine::initializePrototypes()
_globalObject->setProperty("RegExp", regexpCtor());
}
const ObjectValue *Engine::newQmlObject(const QString &name)
ObjectValue *Engine::newQmlObject(const QString &name)
{
#ifndef NO_DECLARATIVE_BACKEND
if (name == QLatin1String("QmlGraphicsAnchors")) {