[QGIS Commit] r13000 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 5 04:32:55 EST 2010


Author: rblazek
Date: 2010-03-05 04:32:53 -0500 (Fri, 05 Mar 2010)
New Revision: 13000

Modified:
   trunk/qgis/src/providers/grass/qgsgrass.cpp
Log:
use forward slashes in GISBASE on win

Modified: trunk/qgis/src/providers/grass/qgsgrass.cpp
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrass.cpp	2010-03-04 19:06:59 UTC (rev 12999)
+++ trunk/qgis/src/providers/grass/qgsgrass.cpp	2010-03-05 09:32:53 UTC (rev 13000)
@@ -55,6 +55,8 @@
   }
 
   QString res = QString::fromUtf8( buf );
+  // GRASS wxpyton GUI fails on paths with backslash, Windows do support forward slashesin paths
+  res.replace ("\\", "/");
   return res;
 }
 #endif



More information about the QGIS-commit mailing list