Commit 72d021a6 authored by Kai Koehne's avatar Kai Koehne

QmlEngine: Enforce newline after status messages

Reviewed-by: hjk
parent 84eeb798
......@@ -384,7 +384,11 @@ void QmlEngine::runEngine()
void QmlEngine::startApplicationLauncher()
{
if (!d->m_applicationLauncher.isRunning()) {
appendMessage(tr("Starting %1 %2").arg(QDir::toNativeSeparators(startParameters().executable), startParameters().processArgs), NormalMessageFormat);
appendMessage(tr("Starting %1 %2").arg(
QDir::toNativeSeparators(startParameters().executable),
startParameters().processArgs)
+ QLatin1Char('\n')
, NormalMessageFormat);
d->m_applicationLauncher.start(ApplicationLauncher::Gui,
startParameters().executable,
startParameters().processArgs);
......
......@@ -166,7 +166,7 @@ void ApplicationLauncher::guiProcessError()
default:
error = tr("Some error has occurred while running the program.");
}
emit appendMessage(error, ErrorMessageFormat);
emit appendMessage(error + QLatin1Char('\n'), ErrorMessageFormat);
emit processExited(d->m_guiProcess.exitCode());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment