ProjectExplorer: Remove effectively unused enum

Change-Id: Ie4f23e5658e57a367ab77c2cc40443f32a60a8d0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2022-06-03 12:02:17 +02:00
parent 8690bec140
commit 510bbea59a
4 changed files with 5 additions and 9 deletions

View File

@@ -604,8 +604,7 @@ FilePath BuildConfiguration::buildDirectoryFromTemplate(const FilePath &projectD
const QString &projectName,
const Kit *kit,
const QString &bcName,
BuildType buildType,
SpaceHandling spaceHandling)
BuildType buildType)
{
MacroExpander exp;
@@ -644,8 +643,7 @@ FilePath BuildConfiguration::buildDirectoryFromTemplate(const FilePath &projectD
qCDebug(bcLog) << "build dir template:" << buildDir;
buildDir = exp.expand(buildDir);
qCDebug(bcLog) << "expanded build:" << buildDir;
if (spaceHandling == ReplaceSpaces)
buildDir.replace(" ", "-");
buildDir.replace(" ", "-");
return projectDir.resolvePath(buildDir);
}