forked from qt-creator/qt-creator
Debugger: Stop launching when pressing the [x] on the Launching bar
Change-Id: I047652b551c920bd89916de14d202dfccd44ed72 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -498,6 +498,7 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
|
||||
d->m_progress.setProgressRange(0, 1000);
|
||||
FutureProgress *fp = ProgressManager::addTask(d->m_progress.future(),
|
||||
tr("Launching Debugger"), "Debugger.Launcher");
|
||||
connect(fp, SIGNAL(canceled()), this, SLOT(quitDebugger()));
|
||||
fp->setKeepOnFinish(FutureProgress::HideOnFinish);
|
||||
d->m_progress.reportStarted();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user