Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 bb2a368
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -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
Expand All @@ -1423,7 +1424,7 @@ void QgsGrassModule::readStdout()
}
else
{
mOutputTextBrowser->append( line );
mOutputTextBrowser->append( "<pre>" + line + "</pre>" );
}
}
}
Expand Down Expand Up @@ -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 )
{
Expand Down

0 comments on commit bb2a368

Please sign in to comment.