[QGIS Commit] r12681 - trunk/qgis/src/plugins/grass
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Jan 6 08:24:35 EST 2010
Author: rblazek
Date: 2010-01-06 08:24:33 -0500 (Wed, 06 Jan 2010)
New Revision: 12681
Modified:
trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp
Log:
fixed 1992, monospace font for module output
Modified: trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp 2010-01-06 13:19:24 UTC (rev 12680)
+++ trunk/qgis/src/plugins/grass/qgsgrassmodule.cpp 2010-01-06 13:24:33 UTC (rev 12681)
@@ -1413,6 +1413,7 @@
//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 @@
}
else
{
- mOutputTextBrowser->append( line );
+ mOutputTextBrowser->append( "<pre>" + line + "</pre>" );
}
}
}
@@ -1456,7 +1457,7 @@
}
else if ( rxmessage.indexIn( line ) != -1 )
{
- mOutputTextBrowser->append( rxmessage.cap( 1 ) );
+ mOutputTextBrowser->append( "<pre>" + rxmessage.cap( 1 ) + "</pre>" );
}
else if ( rxwarning.indexIn( line ) != -1 )
{
More information about the QGIS-commit
mailing list