forked from qt-creator/qt-creator
Use completeBaseName instead of baseName where appropriate
Fixes issues with handling additional dots in the filename in many places. Task: 246390
This commit is contained in:
@@ -84,7 +84,7 @@ void CMakeProject::parseCMakeLists()
|
||||
{
|
||||
QString sourceDirectory = QFileInfo(m_fileName).absolutePath();
|
||||
QString cbpFile = CMakeManager::findCbpFile(buildDirectory(activeBuildConfiguration()));
|
||||
m_rootNode->setFolderName(QFileInfo(cbpFile).baseName());
|
||||
m_rootNode->setFolderName(QFileInfo(cbpFile).completeBaseName());
|
||||
CMakeCbpParser cbpparser;
|
||||
qDebug()<<"Parsing file "<<cbpFile;
|
||||
if (cbpparser.parseCbpFile(cbpFile)) {
|
||||
|
||||
Reference in New Issue
Block a user