From 0ae676d84ab8a74e1e97665ba183833bdc12c7f6 Mon Sep 17 00:00:00 2001 From: Viacheslav Tertychnyi Date: Mon, 30 Mar 2020 18:59:07 +0300 Subject: [PATCH] ProjectExplorer: Fix build progress bar update When using CMake, if the build queue includes two or more steps (Rebuild or Build All), the build progress bar did not update properly after completing the first step. Change-Id: I1a72e9e8494233a7dca73bdb6c1b51717af1d53d Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/buildmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index 41bcc17ccc8..08bfa57de03 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -652,7 +652,7 @@ void BuildManager::nextBuildQueue() void BuildManager::progressChanged(int percent, const QString &text) { if (d->m_progressFutureInterface) - d->m_progressFutureInterface->setProgressValueAndText(percent, text); + d->m_progressFutureInterface->setProgressValueAndText(percent + 100 * d->m_progress, text); } void BuildManager::nextStep()