Commit 34a27d1d authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix c&p bug: actually use exact evaluation results

parent 49fa40cf
......@@ -1678,7 +1678,7 @@ void Qt4ProFileNode::applyEvaluate(bool parseResult, bool async)
// Update existingNodeIte
ProFile *fileExact = includeFilesCumlative.value((*existingIt)->path());
ProFile *fileExact = includeFilesExact.value((*existingIt)->path());
ProFile *fileCumlative = includeFilesCumlative.value((*existingIt)->path());
if (fileExact || fileCumlative) {
static_cast<Qt4PriFileNode *>(*existingIt)->update(fileExact, m_readerExact, fileCumlative, m_readerCumulative);
......@@ -1697,7 +1697,7 @@ void Qt4ProFileNode::applyEvaluate(bool parseResult, bool async)
// If we found something to add, do it
if (!nodeToAdd.isEmpty()) {
ProFile *fileExact = includeFilesCumlative.value(nodeToAdd);
ProFile *fileExact = includeFilesExact.value(nodeToAdd);
ProFile *fileCumlative = includeFilesCumlative.value(nodeToAdd);
// Loop preventation, make sure that exact same node is not in our parent chain
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