forked from qt-creator/qt-creator
Uniform ApplicationLauncher API: get rid of reportProgress()
Use existing appendMessage() for this purpose with NormalMessageFormat. In case when device process is used in ApplicationLauncher no appendMessage() was emitted so far. Change-Id: I96041ad19fe16066ea31d92f52253e0aa864f96d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1290,9 +1290,9 @@ void SimpleTargetRunner::doStart(const Runnable &runnable, const IDevice::ConstP
|
||||
reportStarted();
|
||||
});
|
||||
|
||||
connect(&m_launcher, &ApplicationLauncher::reportProgress,
|
||||
this, [this](const QString &progressString) {
|
||||
appendMessage(progressString, Utils::NormalMessageFormat);
|
||||
connect(&m_launcher, &ApplicationLauncher::appendMessage,
|
||||
this, [this](const QString &progressString, Utils::OutputFormat format) {
|
||||
appendMessage(progressString, format);
|
||||
});
|
||||
|
||||
m_launcher.start(runnable, device);
|
||||
|
||||
Reference in New Issue
Block a user