forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user