Debugger: Simplify raise-on-stop logic

Also slightly change meaning (now all stops may cause raising).

Change-Id: Ie3fee7371ab119e4e9747dc44a4d8ef2cd62c8d8
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-05-22 17:56:14 +02:00
parent 7e8a945e6e
commit 3ebc5220a3
5 changed files with 2 additions and 18 deletions

View File

@@ -49,6 +49,7 @@
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/editormanager/ieditor.h>
#include <coreplugin/icore.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/progressmanager/futureprogress.h>
@@ -944,7 +945,7 @@ void DebuggerEngine::notifyInferiorSpontaneousStop()
showStatusMessage(tr("Stopped."));
setState(InferiorStopOk);
if (debuggerCore()->boolSetting(RaiseOnInterrupt))
emit raiseWindow();
ICore::raiseWindow(debuggerCore()->mainWindow());
}
void DebuggerEngine::notifyInferiorStopFailed()