diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-03-30 13:14:30 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-03-30 13:49:43 +0200 |
commit | 72d021a6ab5dfe9ca9d9157de0fc433fb64fc50f (patch) | |
tree | 0ada10639e87faad6b750b1b9f5830a6ad13e253 | |
parent | 84eeb79896cc7bf7a27706a028faa69890f5d999 (diff) | |
download | qt-creator-72d021a6ab5dfe9ca9d9157de0fc433fb64fc50f.tar.gz |
QmlEngine: Enforce newline after status messages
Reviewed-by: hjk
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 6 | ||||
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher_x11.cpp | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 18fecd757b..f36bbf24a3 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -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); diff --git a/src/plugins/projectexplorer/applicationlauncher_x11.cpp b/src/plugins/projectexplorer/applicationlauncher_x11.cpp index 18f30f6af9..60131d3802 100644 --- a/src/plugins/projectexplorer/applicationlauncher_x11.cpp +++ b/src/plugins/projectexplorer/applicationlauncher_x11.cpp @@ -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()); } |