ProjectExplorer: Remove useless newlines in output of ApplicationLauncher

Those will be added anyway.

Change-Id: I7b1f4b1b7bc0f5f0128989dfdbb4c436fd9b60c1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2017-11-23 17:28:38 +01:00
parent 58fd29e0ed
commit 9dcf8cf0ed

View File

@@ -285,7 +285,7 @@ void ApplicationLauncherPrivate::localGuiProcessError()
default:
error = ApplicationLauncher::tr("Some error has occurred while running the program.");
}
emit q->appendMessage(error + QLatin1Char('\n'), ErrorMessageFormat);
emit q->appendMessage(error, ErrorMessageFormat);
if (m_processRunning && !isRunning()) {
m_processRunning = false;
emit q->processExited(-1, status);
@@ -294,7 +294,7 @@ void ApplicationLauncherPrivate::localGuiProcessError()
void ApplicationLauncherPrivate::localConsoleProcessError(const QString &error)
{
emit q->appendMessage(error + QLatin1Char('\n'), ErrorMessageFormat);
emit q->appendMessage(error, ErrorMessageFormat);
if (m_processRunning && m_consoleProcess.applicationPID() == 0) {
m_processRunning = false;
emit q->processExited(-1, QProcess::NormalExit);