ProjectExplorer: Do not add too many newlines for remote processes

Do not add newlines when remote process output gets flushed.

Task-number: QTCREATORBUG-19367
Change-Id: I9e878695279404d436264abd580884fb6a9e91ad
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jonathan Liu
2018-09-20 13:46:05 +10:00
parent 9c7d546c14
commit 807b0f78fc

View File

@@ -1659,12 +1659,12 @@ void SimpleTargetRunner::start()
connect(&m_launcher, &ApplicationLauncher::remoteStderr,
this, [this](const QString &output) {
appendMessage(output, Utils::StdErrFormatSameLine);
appendMessage(output, Utils::StdErrFormatSameLine, false);
});
connect(&m_launcher, &ApplicationLauncher::remoteStdout,
this, [this](const QString &output) {
appendMessage(output, Utils::StdOutFormatSameLine);
appendMessage(output, Utils::StdOutFormatSameLine, false);
});
connect(&m_launcher, &ApplicationLauncher::finished,