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();
|
||||
|
||||
|
||||
@@ -253,7 +253,7 @@ public:
|
||||
|
||||
virtual void resetLocation();
|
||||
virtual void gotoLocation(const Internal::Location &location);
|
||||
virtual void quitDebugger(); // called by DebuggerRunControl
|
||||
Q_SLOT virtual void quitDebugger(); // called by DebuggerRunControl
|
||||
virtual void abortDebugger(); // called by DebuggerPlugin
|
||||
|
||||
virtual void updateViews();
|
||||
|
||||
Reference in New Issue
Block a user