forked from qt-creator/qt-creator
Debugger: Replace Internal::mainWindow
... by DebuggerMainWindow::instance() and clean up a few uses. Change-Id: I7ae4073aa97fc2f00108533bed91db330b07880f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1258,7 +1258,7 @@ void DebuggerEngine::notifyInferiorSpontaneousStop()
|
||||
showMessage(tr("Stopped."), StatusBar);
|
||||
setState(InferiorStopOk);
|
||||
if (boolSetting(RaiseOnInterrupt))
|
||||
ICore::raiseWindow(Internal::mainWindow());
|
||||
ICore::raiseWindow(DebuggerMainWindow::instance());
|
||||
EngineManager::activateEngine(this);
|
||||
}
|
||||
|
||||
@@ -1423,7 +1423,7 @@ void DebuggerEnginePrivate::updateState(bool alsoUpdateCompanion)
|
||||
m_detachAction.setEnabled(detachable);
|
||||
|
||||
if (stopped)
|
||||
QApplication::alert(mainWindow(), 3000);
|
||||
QApplication::alert(ICore::mainWindow(), 3000);
|
||||
|
||||
updateReverseActions();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user