forked from qt-creator/qt-creator
Version control: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I85c007045efdb207f397b42fbce7a554ac9c9819 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
cdae5f2102
commit
e2ace515e2
@@ -823,14 +823,14 @@ static SynchronousProcessResponse runVcsFullySynchronously(const QString &workin
|
||||
&stdOut, &stdErr, true);
|
||||
|
||||
if (!stdErr.isEmpty()) {
|
||||
response.stdErr = QString::fromLocal8Bit(stdErr).remove('\r');
|
||||
response.stdErr = QString::fromLocal8Bit(stdErr).remove(QLatin1Char('\r'));
|
||||
if (!(flags & VcsBasePlugin::SuppressStdErrInLogWindow))
|
||||
outputWindow->append(response.stdErr);
|
||||
}
|
||||
|
||||
if (!stdOut.isEmpty()) {
|
||||
response.stdOut = (outputCodec ? outputCodec->toUnicode(stdOut) : QString::fromLocal8Bit(stdOut))
|
||||
.remove('\r');
|
||||
.remove(QLatin1Char('\r'));
|
||||
if (flags & VcsBasePlugin::ShowStdOutInLogWindow)
|
||||
outputWindow->append(response.stdOut);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user