Skip to content
Permalink
Browse files

Vect_get_proj was not in 6.0

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4986 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Mar 9, 2006
1 parent 131a4ba commit b97a8d05501900a6b9d5ff7b044bd5eb21034bdd
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/plugins/grass/qgsgrassmodel.cpp
@@ -265,7 +265,11 @@ QString QgsGrassModelItem::info()
char buffer[100];

Vect_get_map_box (&Map, &box );
int proj = Vect_get_proj(&Map);

QgsGrass::setMapset( mGisbase, mLocation, mMapset );
struct Cell_head window;
G_get_window (&window);
int proj = window.proj;

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

0 comments on commit b97a8d0

Please sign in to comment.
You can’t perform that action at this time.