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