forked from qt-creator/qt-creator
Debugger: Reduce explicit DebuggerRunControl use
Aim is to replace it with its ProjectExplorer::RunControl base. Change-Id: I30f837050e7c016887dc4b6cfef10b947f4f88ed Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -343,7 +343,7 @@ public:
|
||||
bool isMasterEngine() const { return m_engine->isMasterEngine(); }
|
||||
DebuggerRunTool *runTool() const
|
||||
{ return m_masterEngine ? m_masterEngine->runTool() : m_runTool.data(); }
|
||||
DebuggerRunControl *runControl() const { return runTool()->runControl(); }
|
||||
RunControl *runControl() const { return runTool()->runControl(); }
|
||||
void setRemoteSetupState(RemoteSetupState state);
|
||||
|
||||
DebuggerEngine *m_engine = nullptr; // Not owned.
|
||||
@@ -1518,7 +1518,7 @@ void DebuggerEngine::progressPing()
|
||||
d->m_progress.setProgressValue(progress);
|
||||
}
|
||||
|
||||
DebuggerRunControl *DebuggerEngine::runControl() const
|
||||
RunControl *DebuggerEngine::runControl() const
|
||||
{
|
||||
return d->runControl();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user