forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user