diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-08-23 11:41:50 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-30 13:18:28 +0200 |
commit | ee84bb67a2f90038d1f3462cb9141dffbfa9517b (patch) | |
tree | 18d1f857ba6e8e89d670cec1f8218b8d14e1c71d /src/declarative/qml/qdeclarativeworkerscript.cpp | |
parent | c7a9493730b93f0e19705bdb02729e15b9955117 (diff) | |
download | qtdeclarative-ee84bb67a2f90038d1f3462cb9141dffbfa9517b.tar.gz |
Move all QML file parsing into the QDeclarativeScript namespace
Change-Id: I5969686a796cbfb2eeb3729014df7f01e51b0620
Reviewed-on: http://codereview.qt.nokia.com/3797
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativeworkerscript.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeworkerscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeworkerscript.cpp b/src/declarative/qml/qdeclarativeworkerscript.cpp index fc9bb887e8..e6af0ba964 100644 --- a/src/declarative/qml/qdeclarativeworkerscript.cpp +++ b/src/declarative/qml/qdeclarativeworkerscript.cpp @@ -365,7 +365,7 @@ void QDeclarativeWorkerScriptEnginePrivate::processLoad(int id, const QUrl &url) if (f.open(QIODevice::ReadOnly)) { QByteArray data = f.readAll(); QString sourceCode = QString::fromUtf8(data); - QDeclarativeScriptParser::extractPragmas(sourceCode); + QDeclarativeScript::Parser::extractPragmas(sourceCode); v8::HandleScope handle_scope; v8::Context::Scope scope(workerEngine->context()); |