Skip to content
Permalink
Browse files
pre for any module output
git-svn-id: http://svn.osgeo.org/qgis/trunk@12684 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 7, 2010
1 parent d59c7ce commit 670bb0d2334e549874142866e80cfd743fd50e69
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/plugins/grass/qgsgrassmodule.cpp
@@ -1412,7 +1412,7 @@ void QgsGrassModule::readStdout()
{
//line = QString::fromLocal8Bit( mProcess.readLineStdout().ascii() );
QByteArray ba = mProcess.readLine();
line = QString::fromUtf8( ba );
line = QString::fromUtf8( ba ).replace('\n', "" );
//QgsDebugMsg(QString("line: '%1'").arg(line));

// GRASS_INFO_PERCENT is catched here only because of bugs in GRASS,
@@ -1447,7 +1447,7 @@ void QgsGrassModule::readStderr()
{
//line = QString::fromLocal8Bit( mProcess.readLineStderr().ascii() );
QByteArray ba = mProcess.readLine();
line = QString::fromUtf8( ba );
line = QString::fromUtf8( ba ).replace('\n', "" );
//QgsDebugMsg(QString("line: '%1'").arg(line));

if ( rxpercent.indexIn( line ) != -1 )
@@ -1477,7 +1477,7 @@ void QgsGrassModule::readStderr()
}
else
{
mOutputTextBrowser->append( line + "\n" );
mOutputTextBrowser->append( "<pre>" + line + "</pre>" );
}
}
}

0 comments on commit 670bb0d

Please sign in to comment.