forked from qt-creator/qt-creator
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:
@@ -132,13 +132,8 @@ AndroidDebugSupport::AndroidDebugSupport(AndroidRunConfiguration *runConfig,
|
|||||||
{
|
{
|
||||||
QTC_ASSERT(runControl, return);
|
QTC_ASSERT(runControl, return);
|
||||||
|
|
||||||
connect(m_runControl, SIGNAL(finished()),
|
connect(m_runControl, &RunControl::finished,
|
||||||
m_runner, SLOT(stop()));
|
m_runner, &AndroidRunner::stop);
|
||||||
|
|
||||||
DebuggerRunConfigurationAspect *aspect
|
|
||||||
= runConfig->extraAspect<DebuggerRunConfigurationAspect>();
|
|
||||||
Q_ASSERT(aspect->useCppDebugger() || aspect->useQmlDebugger());
|
|
||||||
Q_UNUSED(aspect)
|
|
||||||
|
|
||||||
connect(m_runControl, &DebuggerRunControl::requestRemoteSetup,
|
connect(m_runControl, &DebuggerRunControl::requestRemoteSetup,
|
||||||
m_runner, &AndroidRunner::start);
|
m_runner, &AndroidRunner::start);
|
||||||
|
Reference in New Issue
Block a user