Fixing tons of application output

Master fixed a bug where a newline was almost always prepended to any
output. As a side effect of that a lot of messages which outputed no
newline broke. This commit fixes the obvious ones, probably missing a
few.
This commit is contained in:
dt
2011-04-12 19:42:25 +02:00
parent 82f3e788f6
commit 880813a3bc
10 changed files with 37 additions and 55 deletions

View File

@@ -97,7 +97,7 @@ void QmlRunControl::start()
m_commandLineArguments);
emit started();
QString msg = tr("Starting %1 %2")
QString msg = tr("Starting %1 %2\n")
.arg(QDir::toNativeSeparators(m_executable), m_commandLineArguments);
appendMessage(msg, NormalMessageFormat);
}
@@ -130,7 +130,7 @@ void QmlRunControl::slotAppendMessage(const QString &line, OutputFormat format)
void QmlRunControl::processExited(int exitCode)
{
QString msg = tr("%1 exited with code %2")
QString msg = tr("%1 exited with code %2\n")
.arg(QDir::toNativeSeparators(m_executable)).arg(exitCode);
appendMessage(msg, exitCode ? ErrorMessageFormat : NormalMessageFormat);
emit finished();