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:
hjk
2017-04-26 14:23:39 +02:00
parent 0de18abbc2
commit c2ebce6849
18 changed files with 40 additions and 49 deletions

View File

@@ -150,11 +150,11 @@ AndroidDebugSupport::AndroidDebugSupport(RunControl *runControl)
connect(runControl, &RunControl::finished,
m_runner, &AndroidRunner::stop);
connect(this->runControl(), &DebuggerRunControl::requestRemoteSetup,
connect(this->runControl()->toolRunner(), &DebuggerRunTool::requestRemoteSetup,
m_runner, &AndroidRunner::start);
// FIXME: Move signal to base class and generalize handling.
connect(this->runControl(), &DebuggerRunControl::aboutToNotifyInferiorSetupOk,
connect(this->runControl()->toolRunner(), &DebuggerRunTool::aboutToNotifyInferiorSetupOk,
m_runner, &AndroidRunner::remoteDebuggerRunning);
connect(m_runner, &AndroidRunner::remoteServerRunning,