          // Get relative path to rootNode
          QString parentDir = QFileInfo(fn->path()).absolutePath();
          ProjectExplorer::FolderNode *folder = findOrCreateFolder(rootNode, parentDir);
-@@ -431,6 +436,21 @@ void CMakeProject::buildTree(CMakeProjectNode *rootNode, QList<ProjectExplorer::
+@@ -429,6 +434,21 @@ void CMakeProject::buildTree(CMakeProjectNode *rootNode, QList<ProjectExplorer::
      }
  }
  

 #include <QDebug>
 #include <QDir>
 #include <QFormLayout>
@@ -408,7 +409,11 @@ void CMakeProject::buildTree(CMakeProjectNode *rootNode, QList<ProjectExplorer::
 
     // add added nodes
     foreach (ProjectExplorer::FileNode *fn, added) {

diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
index 0dcf8dd..15185da 100644
--- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
@@ -63,6 +63,7 @@
