forked from qt-creator/qt-creator
ProjectExplorer: Fix use of build step list preamble messages
The step list names are computed separately anyway, having an extra preamble consisting of concatenated build list names on one line looks unnecessary. Change-Id: If754c6363042927210dfd09c23f2f494081f8c47 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -542,17 +542,13 @@ void QbsProjectManagerPlugin::runStepsForProducts(QbsProject *project,
|
||||
bc->setChangedFiles(QStringList());
|
||||
bc->setProducts(products);
|
||||
QList<ProjectExplorer::BuildStepList *> stepLists;
|
||||
QStringList stepListNames;
|
||||
for (const Core::Id &stepType : stepTypes) {
|
||||
if (stepType == ProjectExplorer::Constants::BUILDSTEPS_BUILD) {
|
||||
if (stepType == ProjectExplorer::Constants::BUILDSTEPS_BUILD)
|
||||
stepLists << bc->buildSteps();
|
||||
stepListNames << ProjectExplorerPlugin::displayNameForStepId(stepType);
|
||||
} else if (stepType == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
|
||||
else if (stepType == ProjectExplorer::Constants::BUILDSTEPS_CLEAN)
|
||||
stepLists << bc->cleanSteps();
|
||||
stepListNames << ProjectExplorerPlugin::displayNameForStepId(stepType);
|
||||
}
|
||||
}
|
||||
BuildManager::buildLists(stepLists, stepListNames);
|
||||
BuildManager::buildLists(stepLists);
|
||||
bc->setProducts(QStringList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user