Skip to content


set GRASS_HTML_BROWSER for term (does not work, overriden by
Browse files Browse the repository at this point in the history
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 12, 2010
1 parent 4952342 commit 66dc1d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/grass/qgsgrassshell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <QKeySequence>

#include "qgslogger.h"
#include "qgsapplication.h"
#include "qtermwidget/qtermwidget.h"
#include "qgsgrass.h"

Expand Down Expand Up @@ -108,6 +109,8 @@ void QgsGrassShell::initTerminal( QTermWidget *terminal )
terminal->setShellProgram( shellProgram );
env << "TERM=vt100";
// This is also overriden by, it should not be run at all, either QGIS is started from shell or a mapset is open from QGIS, opens the session second time
env << "GRASS_HTML_BROWSER=" + QgsApplication::pkgDataPath() + "/grass/bin/qgis.g.browser";

args << "-text";
args << QString( "%1/%2/%3" ).arg( QgsGrass::getDefaultGisdbase() ).arg( QgsGrass::getDefaultLocation() ).arg( QgsGrass::getDefaultMapset() );
Expand Down

0 comments on commit 66dc1d5

Please sign in to comment.