diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-07-28 04:45:11 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-07-28 04:45:11 (GMT) |
commit | 70921d484ec1bd75d8d86f127ebbb91b1138eb06 (patch) | |
tree | c0cbc51e8032bf7f4346c55edb85c4b32323475d /src/declarative/qml/qmlcontext.cpp | |
parent | f7ddf86cb2bab6ca726ef9c8c091b83a12cbf9ed (diff) | |
download | Qt-70921d484ec1bd75d8d86f127ebbb91b1138eb06.zip Qt-70921d484ec1bd75d8d86f127ebbb91b1138eb06.tar.gz Qt-70921d484ec1bd75d8d86f127ebbb91b1138eb06.tar.bz2 |
Revert "Make private stuff public"
This reverts commit 0cdd8518090be320fa89efaa11ced32215cc2ccc.
We've made a decision on apps interacting with the engine - not in the
initial version.
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 bf549d8..dabaa5e 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 = QmlEngine::getScriptEngine(engine); + QScriptEngine *scriptEngine = QmlEnginePrivate::getScriptEngine(engine); QScriptValue scopeObj = scriptEngine->newObject(QmlEnginePrivate::get(engine)->contextClass, scriptEngine->newVariant(QVariant::fromValue((QObject*)q))); if (!parent) |