qgsgrass.cpp.diff
| qgsgrass.cpp (working copy) | ||
|---|---|---|
| 335 | 335 |
// #if defined(WIN32) |
| 336 | 336 |
// G__setenv(( char * ) "GISDBASE", shortPath( gisdbase ).toLocal8Bit().data() ); |
| 337 | 337 |
//#else |
| 338 |
G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
|
|
| 338 |
G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().data() );
|
|
| 339 | 339 |
//#endif |
| 340 |
G__setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
|
|
| 340 |
G__setenv(( char * ) "LOCATION_NAME", location.toAscii().data() );
|
|
| 341 | 341 |
G__setenv(( char * ) "MAPSET", ( char * ) "PERMANENT" ); // PERMANENT must always exist |
| 342 | 342 | |
| 343 | 343 |
// Add all available mapsets to search path |