forked from qt-creator/qt-creator
AutoTools: Inline AutoTools::defaultBuildDirectory()
Only one caller. Change-Id: I9cf92417deaf48a513bdfefd0c65419726e5959a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -115,8 +115,8 @@ QList<BuildInfo> AutotoolsBuildConfigurationFactory::availableBuilds(const Targe
|
||||
|
||||
QList<BuildInfo> AutotoolsBuildConfigurationFactory::availableSetups(const Kit *k, const QString &projectPath) const
|
||||
{
|
||||
BuildInfo info = createBuildInfo(k,
|
||||
Utils::FileName::fromString(AutotoolsProject::defaultBuildDirectory(projectPath)));
|
||||
const QString path = QFileInfo(projectPath).absolutePath();
|
||||
BuildInfo info = createBuildInfo(k, Utils::FileName::fromString(path));
|
||||
//: The name of the build configuration created by default for a autotools project.
|
||||
info.displayName = tr("Default");
|
||||
return {info};
|
||||
|
||||
Reference in New Issue
Block a user