diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-27 05:20:37 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-27 05:20:37 (GMT) |
commit | 752a15ca59b1b209aa67c3fbee53868b3a22df80 (patch) | |
tree | 1403cb3d0c3ff3dbadb201bedfe079db7c021b9b /src/declarative/qml/qmlcontext.cpp | |
parent | ef1a5d6bad05b99765658b3ca916bd3c5f507db0 (diff) | |
download | Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.zip Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.tar.gz Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.tar.bz2 |
Make private stuff private
Diffstat (limited to 'src/declarative/qml/qmlcontext.cpp')
-rw-r--r-- | src/declarative/qml/qmlcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp index bc2e6bf..dabaa5e 100644 --- a/src/declarative/qml/qmlcontext.cpp +++ b/src/declarative/qml/qmlcontext.cpp @@ -106,9 +106,9 @@ void QmlContextPrivate::init() parent->d_func()->childContexts.insert(q); //set scope chain - QScriptEngine *scriptEngine = engine->scriptEngine(); + QScriptEngine *scriptEngine = QmlEnginePrivate::getScriptEngine(engine); QScriptValue scopeObj = - scriptEngine->newObject(engine->d_func()->contextClass, scriptEngine->newVariant(QVariant::fromValue((QObject*)q))); + scriptEngine->newObject(QmlEnginePrivate::get(engine)->contextClass, scriptEngine->newVariant(QVariant::fromValue((QObject*)q))); if (!parent) scopeChain.append(scriptEngine->globalObject()); else |