From 7fef10810ae3ef66a65b372a725e293c37a39c37 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Fri, 13 Mar 2009 15:46:30 +0100
Subject: [PATCH] Fixes:    All cmake projects use CMakeLists.txt as the name

Task:     246282
Details:  call setFolderName()
---
 src/plugins/cmakeprojectmanager/cmakeproject.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
index 28ccae16958..e7114fc63dc 100644
--- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
@@ -84,6 +84,7 @@ void CMakeProject::parseCMakeLists()
     QString sourceDirectory = QFileInfo(m_fileName).absolutePath();
 
     QString cbpFile = CMakeManager::findCbpFile(buildDirectory(activeBuildConfiguration()));
+    m_rootNode->setFolderName(QFileInfo(cbpFile).baseName());
     CMakeCbpParser cbpparser;
     qDebug()<<"Parsing file "<<cbpFile;
     if (cbpparser.parseCbpFile(cbpFile)) {
-- 
GitLab