forked from qt-creator/qt-creator
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 <christian.kandeler@qt.io>
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user