Commit 40ef148c authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

don't evaluate features in the cumulative pass

we don't use anything the features may set up, so loading them just
wastes time. this may change if we start processing extracompilers
properly.
parent 04bee3be
...@@ -1025,9 +1025,9 @@ bool Qt4ProFileNode::evaluate() ...@@ -1025,9 +1025,9 @@ bool Qt4ProFileNode::evaluate()
{ {
bool parserError = false; bool parserError = false;
if (ProFile *pro = m_readerExact->parsedProFile(m_projectFilePath)) { if (ProFile *pro = m_readerExact->parsedProFile(m_projectFilePath)) {
if (!m_readerExact->accept(pro)) if (!m_readerExact->accept(pro, ProFileEvaluator::LoadAll))
parserError = true; parserError = true;
if (!m_readerCumulative->accept(pro)) if (!m_readerCumulative->accept(pro, ProFileEvaluator::LoadPreFiles))
parserError = true; parserError = true;
pro->deref(); pro->deref();
} else { } else {
......
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