Skip to content

Commit bb2a368

Browse files
author
rblazek
committedJan 6, 2010
fixed 1992, monospace font for module output
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12681 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)
Please sign in to comment.