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.
This commit is contained in:
Oswald Buddenhagen
2010-06-24 16:43:34 +02:00
parent 04bee3be57
commit 40ef148c30

View File

@@ -1025,9 +1025,9 @@ bool Qt4ProFileNode::evaluate()
{
bool parserError = false;
if (ProFile *pro = m_readerExact->parsedProFile(m_projectFilePath)) {
if (!m_readerExact->accept(pro))
if (!m_readerExact->accept(pro, ProFileEvaluator::LoadAll))
parserError = true;
if (!m_readerCumulative->accept(pro))
if (!m_readerCumulative->accept(pro, ProFileEvaluator::LoadPreFiles))
parserError = true;
pro->deref();
} else {