File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1412,7 +1412,7 @@ void QgsGrassModule::readStdout()
1412
1412
{
1413
1413
// line = QString::fromLocal8Bit( mProcess.readLineStdout().ascii() );
1414
1414
QByteArray ba = mProcess .readLine ();
1415
- line = QString::fromUtf8 ( ba );
1415
+ line = QString::fromUtf8 ( ba ). replace ( ' \n ' , " " ) ;
1416
1416
// QgsDebugMsg(QString("line: '%1'").arg(line));
1417
1417
1418
1418
// GRASS_INFO_PERCENT is catched here only because of bugs in GRASS,
@@ -1447,7 +1447,7 @@ void QgsGrassModule::readStderr()
1447
1447
{
1448
1448
// line = QString::fromLocal8Bit( mProcess.readLineStderr().ascii() );
1449
1449
QByteArray ba = mProcess .readLine ();
1450
- line = QString::fromUtf8 ( ba );
1450
+ line = QString::fromUtf8 ( ba ). replace ( ' \n ' , " " ) ;
1451
1451
// QgsDebugMsg(QString("line: '%1'").arg(line));
1452
1452
1453
1453
if ( rxpercent.indexIn ( line ) != -1 )
@@ -1477,7 +1477,7 @@ void QgsGrassModule::readStderr()
1477
1477
}
1478
1478
else
1479
1479
{
1480
- mOutputTextBrowser ->append ( line + " \n " );
1480
+ mOutputTextBrowser ->append ( " <pre> " + line + " </pre> " );
1481
1481
}
1482
1482
}
1483
1483
}
You can’t perform that action at this time.
0 commit comments