OSDN Git Service

Merge remote branch 'origin/2.1'
[qt-creator-jp/qt-creator-jp.git] / src / plugins / qt4projectmanager / qt4nodes.cpp
index 89a0d8e..93a9ff4 100644 (file)
@@ -548,8 +548,10 @@ void Qt4PriFileNode::update(ProFile *includeFileExact, ProFileReader *readerExac
     QStringList dynamicVariables = dynamicVarNames(readerExact, readerCumulative);
     foreach (const QString &dynamicVar, dynamicVariables) {
         folders += readerExact->values(dynamicVar, includeFileExact);
-        if (readerCumulative)
-            folders += readerCumulative->values(dynamicVar, includeFileCumlative);
+        // Ignore stuff from cumulative parse
+        // we are recursively enumerating all the files from those folders
+        // and add watchers for them, that's too dangerous if we get the foldrs
+        // wrong and enumerate the whole project tree multiple times
     }