aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qbsprojectmanager
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-02-28 09:05:46 +0100
committerhjk <hjk@qt.io>2020-02-28 11:48:35 +0000
commitfbd1574a854c477f18aebcea772431a042e9227e (patch)
treecd2822bfd13f2165c41cb47de13b3ff415dae277 /src/plugins/qbsprojectmanager
parente7784b592d619ee9fe2132c2dbb52046a845a3a9 (diff)
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>
Diffstat (limited to 'src/plugins/qbsprojectmanager')
-rw-r--r--src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp b/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp
index e9f8e64ea3..d0da8a47e0 100644
--- a/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp
+++ b/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp
@@ -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());
}