Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pre for any module output
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12684 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 7, 2010
1 parent f2ac688 commit f2c277c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -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,
Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -1477,7 +1477,7 @@ void QgsGrassModule::readStderr()
}
else
{
mOutputTextBrowser->append( line + "\n" );
mOutputTextBrowser->append( "<pre>" + line + "</pre>" );
}
}
}
Expand Down

0 comments on commit f2c277c

Please sign in to comment.