forked from qt-creator/qt-creator
Normalized connect()s
Change-Id: Ieb95bd04026d4a8ba824e6355031954332654e99 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -124,8 +124,8 @@ AndroidDebugSupport::AndroidDebugSupport(AndroidRunConfiguration *runConfig,
|
|||||||
|
|
||||||
connect(m_runner, SIGNAL(remoteProcessStarted(int,int)),
|
connect(m_runner, SIGNAL(remoteProcessStarted(int,int)),
|
||||||
SLOT(handleRemoteProcessStarted(int,int)));
|
SLOT(handleRemoteProcessStarted(int,int)));
|
||||||
connect(m_runner, SIGNAL(remoteProcessFinished(const QString &)),
|
connect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
||||||
SLOT(handleRemoteProcessFinished(const QString &)));
|
SLOT(handleRemoteProcessFinished(QString)));
|
||||||
|
|
||||||
connect(m_runner, SIGNAL(remoteErrorOutput(QByteArray)),
|
connect(m_runner, SIGNAL(remoteErrorOutput(QByteArray)),
|
||||||
SLOT(handleRemoteErrorOutput(QByteArray)));
|
SLOT(handleRemoteErrorOutput(QByteArray)));
|
||||||
@@ -146,8 +146,8 @@ void AndroidDebugSupport::handleRemoteProcessStarted(int gdbServerPort, int qmlP
|
|||||||
|
|
||||||
void AndroidDebugSupport::handleRemoteProcessFinished(const QString &errorMsg)
|
void AndroidDebugSupport::handleRemoteProcessFinished(const QString &errorMsg)
|
||||||
{
|
{
|
||||||
disconnect(m_runner, SIGNAL(remoteProcessFinished(const QString &)),
|
disconnect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
||||||
this,SLOT(handleRemoteProcessFinished(const QString &)));
|
this,SLOT(handleRemoteProcessFinished(QString)));
|
||||||
m_runControl->engine()->notifyEngineRemoteSetupFailed(errorMsg);
|
m_runControl->engine()->notifyEngineRemoteSetupFailed(errorMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -67,8 +67,8 @@ void AndroidRunControl::start()
|
|||||||
SLOT(handleRemoteErrorOutput(QByteArray)));
|
SLOT(handleRemoteErrorOutput(QByteArray)));
|
||||||
connect(m_runner, SIGNAL(remoteOutput(QByteArray)),
|
connect(m_runner, SIGNAL(remoteOutput(QByteArray)),
|
||||||
SLOT(handleRemoteOutput(QByteArray)));
|
SLOT(handleRemoteOutput(QByteArray)));
|
||||||
connect(m_runner, SIGNAL(remoteProcessFinished(const QString &)),
|
connect(m_runner, SIGNAL(remoteProcessFinished(QString)),
|
||||||
SLOT(handleRemoteProcessFinished(const QString &)));
|
SLOT(handleRemoteProcessFinished(QString)));
|
||||||
appendMessage(tr("Starting remote process ..."), Utils::NormalMessageFormat);
|
appendMessage(tr("Starting remote process ..."), Utils::NormalMessageFormat);
|
||||||
m_runner->start();
|
m_runner->start();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user