forked from qt-creator/qt-creator
Debugger: Better remote engine setup result reporting
Use one less signal for result passing. Change-Id: I6209d248fb01056835ef65b91981b9b2747d6f7f Reviewed-by: Ulf Hermann <ulf.hermann@digia.com> Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -86,8 +86,10 @@ AndroidAnalyzeSupport::AndroidAnalyzeSupport(AndroidRunConfiguration *runConfig,
|
||||
}
|
||||
connect(&m_outputParser, SIGNAL(waitingForConnectionOnPort(quint16)),
|
||||
SLOT(remoteIsRunning()));
|
||||
connect(m_runner, SIGNAL(remoteProcessStarted(int)),
|
||||
SLOT(handleRemoteProcessStarted(int)));
|
||||
|
||||
connect(m_runner, &AndroidRunner::remoteProcessStarted,
|
||||
[this](int, int qmlPort) { m_qmlPort = qmlPort; });
|
||||
|
||||
connect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
||||
SLOT(handleRemoteProcessFinished(QString)));
|
||||
|
||||
@@ -97,11 +99,6 @@ AndroidAnalyzeSupport::AndroidAnalyzeSupport(AndroidRunConfiguration *runConfig,
|
||||
SLOT(handleRemoteOutput(QByteArray)));
|
||||
}
|
||||
|
||||
void AndroidAnalyzeSupport::handleRemoteProcessStarted(int qmlPort)
|
||||
{
|
||||
m_qmlPort = qmlPort;
|
||||
}
|
||||
|
||||
void AndroidAnalyzeSupport::handleRemoteProcessFinished(const QString &errorMsg)
|
||||
{
|
||||
if (m_runControl)
|
||||
|
||||
Reference in New Issue
Block a user