forked from qt-creator/qt-creator
Uniform ApplicationLauncher API: get rid of reportError()
Use existing error() signal instead. Implement errorString() and processError() in non-local case. Change-Id: Ibdd6cec19ffa5efa0dad330515988da80e86e35b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1252,10 +1252,9 @@ void SimpleTargetRunner::doStart(const Runnable &runnable, const IDevice::ConstP
|
||||
|
||||
} else {
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::reportError,
|
||||
this, [this](const QString &msg) {
|
||||
reportFailure(msg);
|
||||
});
|
||||
connect(&m_launcher, &ApplicationLauncher::error, this, [this] {
|
||||
reportFailure(m_launcher.errorString());
|
||||
});
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::finished,
|
||||
this, [this] {
|
||||
|
||||
Reference in New Issue
Block a user