Don't call FutureProgress::setKeepOnFinish(HideOnFinish)

This is the default behavior so no need to set it explicitly.

Change-Id: I7248a7a3890fa7fd947b8e42fccc70383d46ca3a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2023-01-05 15:11:55 +01:00
parent 45c98836a9
commit 2a2455a6fa
3 changed files with 0 additions and 3 deletions

View File

@@ -245,7 +245,6 @@ void ClangToolRunWorker::start()
FutureProgress *futureProgress
= ProgressManager::addTask(m_progress.future(), tr("Analyzing"),
toolName.toStdString().c_str());
futureProgress->setKeepOnFinish(FutureProgress::HideOnFinish);
connect(futureProgress, &FutureProgress::canceled,
this, &ClangToolRunWorker::onProgressCanceled);
m_progress.setProgressRange(0, m_initialQueueSize);