Commit 1a06d4f5 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix scope builder rebuilds.

Change-Id: If5e585b074dd1885c3b591b5d2b7c89d50078c58
Reviewed-on: http://codereview.qt-project.org/6497


Sanity-Review: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
parent 1f72f0ee
......@@ -210,6 +210,7 @@ static void collectScopes(const QmlComponentChain *chain, QList<const ObjectValu
void ScopeChain::update() const
{
m_modified = false;
m_all.clear();
m_all += m_globalScope;
......@@ -281,6 +282,8 @@ void ScopeChain::initializeRootScope()
if (bind->rootObjectValue())
m_jsScopes += bind->rootObjectValue();
}
m_modified = true;
}
void ScopeChain::makeComponentChain(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment