forked from qt-creator/qt-creator
Uniform ApplicationLauncher API: get rid of remoteProcessStarted()
Use existing processStarted() signal instead. Replace isRemoteRunning() with isLocal(). Change-Id: I58d0204888116c00e793fa43f969707013db06eb Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1263,11 +1263,7 @@ void SimpleTargetRunner::doStart(const Runnable &runnable, const IDevice::ConstP
|
||||
reportStopped();
|
||||
});
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::processStarted,
|
||||
this, [this] {
|
||||
appendMessage("Application launcher started", Utils::NormalMessageFormat);
|
||||
// reportStarted();
|
||||
});
|
||||
connect(&m_launcher, &ApplicationLauncher::processStarted, this, &RunWorker::reportStarted);
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::processExited,
|
||||
this, [this] {
|
||||
@@ -1275,11 +1271,6 @@ void SimpleTargetRunner::doStart(const Runnable &runnable, const IDevice::ConstP
|
||||
reportStopped();
|
||||
});
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::remoteProcessStarted,
|
||||
this, [this] {
|
||||
reportStarted();
|
||||
});
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::appendMessage, this, &RunWorker::appendMessage);
|
||||
|
||||
m_launcher.start(runnable, device);
|
||||
|
||||
Reference in New Issue
Block a user