forked from qt-creator/qt-creator
ProjectExplorer: Remove effectively unused enum
Change-Id: Ie4f23e5658e57a367ab77c2cc40443f32a60a8d0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user