Skip to content
Permalink
Browse files

move projVersionMajor to cpp

  • Loading branch information
vcloarec authored and nyalldawson committed Mar 10, 2021
1 parent 6e5f4f3 commit e0489b3113774b6bb66426b9bf05e6d023c8d7b9
Showing with 6 additions and 4 deletions.
  1. +5 −0 src/core/qgsprojutils.cpp
  2. +1 −4 src/core/qgsprojutils.h
@@ -294,6 +294,11 @@ QStringList QgsProjUtils::nonAvailableGrids( const QString &projDef )
}
#endif

int QgsProjUtils::projVersionMajor()
{
return PROJ_VERSION_MAJOR;
}

QStringList QgsProjUtils::searchPaths()
{
const QString path( proj_info().searchpath );
@@ -47,10 +47,7 @@ class CORE_EXPORT QgsProjUtils
/**
* Returns the proj library major version number.
*/
static int projVersionMajor()
{
return PROJ_VERSION_MAJOR;
}
static int projVersionMajor();

/**
* Returns the current list of Proj file search paths.

0 comments on commit e0489b3

Please sign in to comment.