Commit f7c7dc0d authored by hjk's avatar hjk

Debugger: Stop launching when pressing the [x] on the Launching bar

Change-Id: I047652b551c920bd89916de14d202dfccd44ed72
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 2e91dd1f
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment