forked from qt-creator/qt-creator
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:
@@ -285,7 +285,7 @@ void ApplicationLauncherPrivate::localGuiProcessError()
|
|||||||
default:
|
default:
|
||||||
error = ApplicationLauncher::tr("Some error has occurred while running the program.");
|
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()) {
|
if (m_processRunning && !isRunning()) {
|
||||||
m_processRunning = false;
|
m_processRunning = false;
|
||||||
emit q->processExited(-1, status);
|
emit q->processExited(-1, status);
|
||||||
@@ -294,7 +294,7 @@ void ApplicationLauncherPrivate::localGuiProcessError()
|
|||||||
|
|
||||||
void ApplicationLauncherPrivate::localConsoleProcessError(const QString &error)
|
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) {
|
if (m_processRunning && m_consoleProcess.applicationPID() == 0) {
|
||||||
m_processRunning = false;
|
m_processRunning = false;
|
||||||
emit q->processExited(-1, QProcess::NormalExit);
|
emit q->processExited(-1, QProcess::NormalExit);
|
||||||
|
Reference in New Issue
Block a user