Debugger/Android: Cosmetics

Remove an unnecessary check; use a Qt 5 connect.

Change-Id: I9d436f01bc02184911c6fd234fba5ce751ccf024
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2016-04-19 13:48:28 +02:00
parent 1de35f29eb
commit 47afcd1a2e

View File

@@ -132,13 +132,8 @@ AndroidDebugSupport::AndroidDebugSupport(AndroidRunConfiguration *runConfig,
{
QTC_ASSERT(runControl, return);
connect(m_runControl, SIGNAL(finished()),
m_runner, SLOT(stop()));
DebuggerRunConfigurationAspect *aspect
= runConfig->extraAspect<DebuggerRunConfigurationAspect>();
Q_ASSERT(aspect->useCppDebugger() || aspect->useQmlDebugger());
Q_UNUSED(aspect)
connect(m_runControl, &RunControl::finished,
m_runner, &AndroidRunner::stop);
connect(m_runControl, &DebuggerRunControl::requestRemoteSetup,
m_runner, &AndroidRunner::start);