Skip to content

Commit b97a8d0

Browse files
author
rblazek
committed
Vect_get_proj was not in 6.0
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4986 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 131a4ba commit b97a8d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/plugins/grass/qgsgrassmodel.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,11 @@ QString QgsGrassModelItem::info()
265265
char buffer[100];
266266

267267
Vect_get_map_box (&Map, &box );
268-
int proj = Vect_get_proj(&Map);
268+
269+
QgsGrass::setMapset( mGisbase, mLocation, mMapset );
270+
struct Cell_head window;
271+
G_get_window (&window);
272+
int proj = window.proj;
269273

270274
G_format_northing (box.N, buffer, proj);
271275
str += htmlTableRow ( "North", QString(buffer) );

0 commit comments

Comments
 (0)