diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-07-28 02:56:11 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-07-28 02:56:11 (GMT) |
commit | 0cdd8518090be320fa89efaa11ced32215cc2ccc (patch) | |
tree | 414de68c6ada9f95450a9a4410c49a4e3e72eb43 /src/declarative/qml/qmlcontext.cpp | |
parent | 7e8a096cb0ba3bbffdf0eb5aba5646cf3e1cf8bb (diff) | |
download | Qt-0cdd8518090be320fa89efaa11ced32215cc2ccc.zip Qt-0cdd8518090be320fa89efaa11ced32215cc2ccc.tar.gz Qt-0cdd8518090be320fa89efaa11ced32215cc2ccc.tar.bz2 |
Make private stuff public
commit 752a15ca makes some stuff private that is needed to be public.
Moving some stuff back to public until we make a real decision (on how
apps can interact with the engine).
Diffstat (limited to 'src/declarative/qml/qmlcontext.cpp')
-rw-r--r-- | src/declarative/qml/qmlcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp index dabaa5e..bf549d8 100644 --- a/src/declarative/qml/qmlcontext.cpp +++ b/src/declarative/qml/qmlcontext.cpp @@ -106,7 +106,7 @@ void QmlContextPrivate::init() parent->d_func()->childContexts.insert(q); //set scope chain - QScriptEngine *scriptEngine = QmlEnginePrivate::getScriptEngine(engine); + QScriptEngine *scriptEngine = QmlEngine::getScriptEngine(engine); QScriptValue scopeObj = scriptEngine->newObject(QmlEnginePrivate::get(engine)->contextClass, scriptEngine->newVariant(QVariant::fromValue((QObject*)q))); if (!parent) |