File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ void QgsGrassProvider::updateMap( int mapId )
1105
1105
map->valid = false ;
1106
1106
map->version ++;
1107
1107
1108
- QgsGrass::setLocation ( map->gisdbase . toUtf8 (). constData () , map->location . toUtf8 (). constData () );
1108
+ QgsGrass::setLocation ( map->gisdbase , map->location );
1109
1109
1110
1110
// TODO: Should be done better / in other place ?
1111
1111
// TODO: Is it necessary for close ?
@@ -1483,7 +1483,7 @@ bool QgsGrassProvider::startEdit( void )
1483
1483
GMAP *map = &( mMaps [mLayers [mLayerId ].mapId ] );
1484
1484
map->valid = false ;
1485
1485
1486
- QgsGrass::setLocation ( map->gisdbase . toUtf8 (). constData () , map->location . toUtf8 (). constData () );
1486
+ QgsGrass::setLocation ( map->gisdbase , map->location );
1487
1487
1488
1488
// Set current mapset (mapset was previously checked by isGrassEditable() )
1489
1489
// TODO: Should be done better / in other place ?
@@ -1559,7 +1559,7 @@ bool QgsGrassProvider::closeEdit( bool newMap )
1559
1559
map->valid = false ;
1560
1560
map->version ++;
1561
1561
1562
- QgsGrass::setLocation ( map->gisdbase . toUtf8 (). constData () , map->location . toUtf8 (). constData () );
1562
+ QgsGrass::setLocation ( map->gisdbase , map->location );
1563
1563
1564
1564
// Set current mapset (mapset was previously checked by isGrassEditable() )
1565
1565
// TODO: Should be done better / in other place ?
You can’t perform that action at this time.
0 commit comments