summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-07-28 02:56:11 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-07-28 02:56:11 (GMT)
commit0cdd8518090be320fa89efaa11ced32215cc2ccc (patch)
tree414de68c6ada9f95450a9a4410c49a4e3e72eb43 /src/declarative/qml/qmlcontext.cpp
parent7e8a096cb0ba3bbffdf0eb5aba5646cf3e1cf8bb (diff)
downloadQt-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.cpp2
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)