forked from qt-creator/qt-creator
QmlEngine: Enforce newline after status messages
Reviewed-by: hjk
This commit is contained in:
@@ -384,7 +384,11 @@ void QmlEngine::runEngine()
|
|||||||
void QmlEngine::startApplicationLauncher()
|
void QmlEngine::startApplicationLauncher()
|
||||||
{
|
{
|
||||||
if (!d->m_applicationLauncher.isRunning()) {
|
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,
|
d->m_applicationLauncher.start(ApplicationLauncher::Gui,
|
||||||
startParameters().executable,
|
startParameters().executable,
|
||||||
startParameters().processArgs);
|
startParameters().processArgs);
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ void ApplicationLauncher::guiProcessError()
|
|||||||
default:
|
default:
|
||||||
error = tr("Some error has occurred while running the program.");
|
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());
|
emit processExited(d->m_guiProcess.exitCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user