File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1413,6 +1413,7 @@ void QgsGrassModule::readStdout()
1413
1413
// line = QString::fromLocal8Bit( mProcess.readLineStdout().ascii() );
1414
1414
QByteArray ba = mProcess .readLine ();
1415
1415
line = QString::fromUtf8 ( ba );
1416
+ // QgsDebugMsg(QString("line: '%1'").arg(line));
1416
1417
1417
1418
// GRASS_INFO_PERCENT is catched here only because of bugs in GRASS,
1418
1419
// normaly it should be printed to stderr
@@ -1423,7 +1424,7 @@ void QgsGrassModule::readStdout()
1423
1424
}
1424
1425
else
1425
1426
{
1426
- mOutputTextBrowser ->append ( line );
1427
+ mOutputTextBrowser ->append ( " <pre> " + line + " </pre> " );
1427
1428
}
1428
1429
}
1429
1430
}
@@ -1456,7 +1457,7 @@ void QgsGrassModule::readStderr()
1456
1457
}
1457
1458
else if ( rxmessage.indexIn ( line ) != -1 )
1458
1459
{
1459
- mOutputTextBrowser ->append ( rxmessage.cap ( 1 ) );
1460
+ mOutputTextBrowser ->append ( " <pre> " + rxmessage.cap ( 1 ) + " </pre> " );
1460
1461
}
1461
1462
else if ( rxwarning.indexIn ( line ) != -1 )
1462
1463
{
You can’t perform that action at this time.
0 commit comments