ProjectExplorer: Simplify BuildManager::buildList() calls

The build list names are always the ones determined from the
build list id. No need to do that on the caller side.

Change-Id: Icc21ef355de535af21215819fe04daa76fed0d9c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2018-01-05 15:47:41 +01:00
parent 4b7c82b131
commit a0753d7c34
7 changed files with 16 additions and 20 deletions

View File

@@ -594,8 +594,7 @@ void QbsProjectManagerPlugin::buildFiles(QbsProject *project, const QStringList
const Core::Id buildStep = ProjectExplorer::Constants::BUILDSTEPS_BUILD;
const QString name = ProjectExplorerPlugin::displayNameForStepId(buildStep);
BuildManager::buildList(bc->stepList(buildStep), name);
BuildManager::buildList(bc->stepList(buildStep));
bc->setChangedFiles(QStringList());
bc->setActiveFileTags(QStringList());