Skip to content
Permalink
Browse files
fixed 1992, monospace font for module output
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12681 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 6, 2010
1 parent 426e9e2 commit bb2a36848eed9028b7a277c99fac1bb91fc677cc
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/plugins/grass/qgsgrassmodule.cpp
@@ -1413,6 +1413,7 @@ void QgsGrassModule::readStdout()
//line = QString::fromLocal8Bit( mProcess.readLineStdout().ascii() );
QByteArray ba = mProcess.readLine();
line = QString::fromUtf8( ba );
//QgsDebugMsg(QString("line: '%1'").arg(line));

// GRASS_INFO_PERCENT is catched here only because of bugs in GRASS,
// normaly it should be printed to stderr
@@ -1423,7 +1424,7 @@ void QgsGrassModule::readStdout()
}
else
{
mOutputTextBrowser->append( line );
mOutputTextBrowser->append( "<pre>" + line + "</pre>" );
}
}
}
@@ -1456,7 +1457,7 @@ void QgsGrassModule::readStderr()
}
else if ( rxmessage.indexIn( line ) != -1 )
{
mOutputTextBrowser->append( rxmessage.cap( 1 ) );
mOutputTextBrowser->append( "<pre>" + rxmessage.cap( 1 ) + "</pre>" );
}
else if ( rxwarning.indexIn( line ) != -1 )
{

0 comments on commit bb2a368

Please sign in to comment.