[QGIS Commit] r13002 - trunk/qgis/src/plugins/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 5 06:02:18 EST 2010


Author: rblazek
Date: 2010-03-05 06:02:18 -0500 (Fri, 05 Mar 2010)
New Revision: 13002

Modified:
   trunk/qgis/src/plugins/grass/qgsgrasstools.cpp
Log:
set GRASS_HTML_BROWSER to qgis.g.browser on win

Modified: trunk/qgis/src/plugins/grass/qgsgrasstools.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qgsgrasstools.cpp	2010-03-05 11:01:30 UTC (rev 13001)
+++ trunk/qgis/src/plugins/grass/qgsgrasstools.cpp	2010-03-05 11:02:18 UTC (rev 13002)
@@ -140,6 +140,7 @@
   if ( name == "shell" )
   {
 #ifdef WIN32
+    QgsGrass::putEnv ( "GRASS_HTML_BROWSER", QgsApplication::pkgDataPath() + "/grass/bin/qgis.g.browser" );
     if ( !QProcess::startDetached( getenv( "COMSPEC" ) ) )
     {
       QMessageBox::warning( 0, "Warning", tr( "Cannot start command shell (%1)" ).arg( getenv( "COMSPEC" ) ) );



More information about the QGIS-commit mailing list