Commit ed1fbc94 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.textToModelMerger: fix for link

Fixes: d05992d0

Reviewed-by: Christian Kamm
parent 74d65c7e
......@@ -301,6 +301,7 @@ public:
, m_link(m_context, snapshot, importPaths)
, m_scopeBuilder(m_context, doc)
m_link(doc, &m_diagnosticLinkMessages);
m_lookupContext = LookupContext::create(doc, *m_context, QList<AST::Node*>());
// cheaper than calling m_scopeBuilder.initializeRootScope()
*m_context = *m_lookupContext->context();
Supports Markdown
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