forked from qt-creator/qt-creator
ProjectExplorer: Adapt output window clients to fixed newline handling.
Reviewed-by: dt
This commit is contained in:
@@ -142,11 +142,14 @@ void AbstractMaemoPackageCreationStep::handleBuildOutput()
|
||||
if (!buildProc)
|
||||
return;
|
||||
const QByteArray &stdOut = buildProc->readAllStandardOutput();
|
||||
if (!stdOut.isEmpty())
|
||||
emit addOutput(QString::fromLocal8Bit(stdOut), BuildStep::NormalOutput);
|
||||
if (!stdOut.isEmpty()) {
|
||||
emit addOutput(QString::fromLocal8Bit(stdOut), BuildStep::NormalOutput,
|
||||
BuildStep::DontAppendNewline);
|
||||
}
|
||||
const QByteArray &errorOut = buildProc->readAllStandardError();
|
||||
if (!errorOut.isEmpty()) {
|
||||
emit addOutput(QString::fromLocal8Bit(errorOut), BuildStep::ErrorOutput);
|
||||
emit addOutput(QString::fromLocal8Bit(errorOut), BuildStep::ErrorOutput,
|
||||
BuildStep::DontAppendNewline);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user