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