diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-01-07 15:59:24 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-10 10:26:39 +0100 |
commit | b681bd3e4ad20eb558da68ba1a2e2dfddfab9cf1 (patch) | |
tree | b2ff2bdc1ec91fb332c405466e9a6e29d7d40c3c /src/qml/qml/qqmltypeloader.cpp | |
parent | c96a5432f9d34925c55753d592842a3bf7172cf2 (diff) |
[new compiler] Cleanups
Tie QQmlCompilePass and QQmlTypeCompiler together, so that we can eliminate
the battery of parameters to the individual compiler phases.
Change-Id: If2b6cf8416e6c2253c8f054048d1fd5ae12282b6
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmltypeloader.cpp')
-rw-r--r-- | src/qml/qml/qqmltypeloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltypeloader.cpp b/src/qml/qml/qqmltypeloader.cpp index 9e23b0b1a5..278bb017d0 100644 --- a/src/qml/qml/qqmltypeloader.cpp +++ b/src/qml/qml/qqmltypeloader.cpp @@ -2309,7 +2309,7 @@ void QQmlTypeData::compile() if (m_useNewCompiler) { QQmlTypeCompiler compiler(QQmlEnginePrivate::get(typeLoader()->engine()), m_compiledData, this, parsedQML.data()); if (!compiler.compile()) { - setError(compiler.errors); + setError(compiler.compilationErrors()); m_compiledData->release(); m_compiledData = 0; } |