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

@@ -554,7 +554,6 @@ void DebuggerEnginePrivate::setupViews()
FutureProgress *fp = ProgressManager::addTask(m_progress.future(),
Tr::tr("Launching Debugger"), "Debugger.Launcher");
connect(fp, &FutureProgress::canceled, m_engine, &DebuggerEngine::quitDebugger);
fp->setKeepOnFinish(FutureProgress::HideOnFinish);
m_progress.reportStarted();
m_inferiorPid = rp.attachPID.isValid() ? rp.attachPID : ProcessHandle();