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()
14131413 // line = QString::fromLocal8Bit( mProcess.readLineStdout().ascii() );
14141414 QByteArray ba = mProcess .readLine ();
14151415 line = QString::fromUtf8 ( ba );
1416+ // QgsDebugMsg(QString("line: '%1'").arg(line));
14161417
14171418 // GRASS_INFO_PERCENT is catched here only because of bugs in GRASS,
14181419 // normaly it should be printed to stderr
@@ -1423,7 +1424,7 @@ void QgsGrassModule::readStdout()
14231424 }
14241425 else
14251426 {
1426- mOutputTextBrowser ->append ( line );
1427+ mOutputTextBrowser ->append ( " <pre> " + line + " </pre> " );
14271428 }
14281429 }
14291430}
@@ -1456,7 +1457,7 @@ void QgsGrassModule::readStderr()
14561457 }
14571458 else if ( rxmessage.indexIn ( line ) != -1 )
14581459 {
1459- mOutputTextBrowser ->append ( rxmessage.cap ( 1 ) );
1460+ mOutputTextBrowser ->append ( " <pre> " + rxmessage.cap ( 1 ) + " </pre> " );
14601461 }
14611462 else if ( rxwarning.indexIn ( line ) != -1 )
14621463 {
You can’t perform that action at this time.
0 commit comments