added possiblity to keep the progress widget

- the Nokia Qt SDK UpdateInfo plugin progress should stay in the
    progress view till the user clicks on it
  - now the futureprogress knows the difference between:
    KeepOnFinishTillUserInteraction and KeepOnFinish

Reviewed-by: con
This commit is contained in:
Tim Jenssen
2010-10-15 17:22:45 +02:00
parent 3051fd4c98
commit 4af1d09535
4 changed files with 47 additions and 14 deletions

View File

@@ -786,7 +786,7 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
Core::FutureProgress *fp = Core::ICore::instance()->progressManager()
->addTask(d->m_progress.future(),
tr("Launching"), _("Debugger.Launcher"));
fp->setKeepOnFinish(false);
fp->setKeepOnFinish(Core::FutureProgress::DontKeepOnFinish);
d->m_progress.reportStarted();
}
QTC_ASSERT(runControl, notifyEngineSetupFailed(); return);