From 34a27d1dc566684c6847eb52c230a4f76c9d1037 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Tue, 8 Feb 2011 21:15:05 +0100
Subject: [PATCH] fix c&p bug: actually use exact evaluation results

---
 src/plugins/qt4projectmanager/qt4nodes.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp
index af9aff25056..daa195f356e 100644
--- a/src/plugins/qt4projectmanager/qt4nodes.cpp
+++ b/src/plugins/qt4projectmanager/qt4nodes.cpp
@@ -1678,7 +1678,7 @@ void Qt4ProFileNode::applyEvaluate(bool parseResult, bool async)
                 ++newCumlativeIt;
             }
             // 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
-- 
GitLab