[QGIS Commit] r15223 - trunk/qgis/src/providers/grass
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Feb 20 13:10:06 EST 2011
Author: brushtyler
Date: 2011-02-20 10:10:05 -0800 (Sun, 20 Feb 2011)
New Revision: 15223
Modified:
trunk/qgis/src/providers/grass/qgsgrassprovider.cpp
Log:
fix #1904
Modified: trunk/qgis/src/providers/grass/qgsgrassprovider.cpp
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrassprovider.cpp 2011-02-20 17:05:46 UTC (rev 15222)
+++ trunk/qgis/src/providers/grass/qgsgrassprovider.cpp 2011-02-20 18:10:05 UTC (rev 15223)
@@ -1105,7 +1105,7 @@
map->valid = false;
map->version++;
- QgsGrass::setLocation( map->gisdbase.toUtf8().constData(), map->location.toUtf8().constData() );
+ QgsGrass::setLocation( map->gisdbase, map->location );
// TODO: Should be done better / in other place ?
// TODO: Is it necessary for close ?
@@ -1483,7 +1483,7 @@
GMAP *map = &( mMaps[mLayers[mLayerId].mapId] );
map->valid = false;
- QgsGrass::setLocation( map->gisdbase.toUtf8().constData(), map->location.toUtf8().constData() );
+ QgsGrass::setLocation( map->gisdbase, map->location );
// Set current mapset (mapset was previously checked by isGrassEditable() )
// TODO: Should be done better / in other place ?
@@ -1559,7 +1559,7 @@
map->valid = false;
map->version++;
- QgsGrass::setLocation( map->gisdbase.toUtf8().constData(), map->location.toUtf8().constData() );
+ QgsGrass::setLocation( map->gisdbase, map->location );
// Set current mapset (mapset was previously checked by isGrassEditable() )
// TODO: Should be done better / in other place ?
More information about the QGIS-commit
mailing list