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);
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user