Skip to content
Permalink
Browse files

set GRASS_HTML_BROWSER for term (does not work, overriden by Init.sh

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12938 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Feb 12, 2010
1 parent cb8984e commit 624edb98cefad72aabdd03c91238da547f3cfe4c
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/plugins/grass/qgsgrassshell.cpp
@@ -18,6 +18,7 @@
#include <QKeySequence>

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

@@ -108,6 +109,8 @@ void QgsGrassShell::initTerminal( QTermWidget *terminal )
terminal->setShellProgram( shellProgram );
env << "TERM=vt100";
env << "GISRC_MODE_MEMORY";
// This is also overriden by Init.sh, it should not be run at all, either QGIS is started from shell or a mapset is open from QGIS, Init.sh 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() );

0 comments on commit 624edb9

Please sign in to comment.
You can’t perform that action at this time.