Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move projVersionMajor to cpp #42158

Merged
merged 1 commit into from Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/core/qgsprojutils.cpp
Expand Up @@ -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 );
Expand Down
5 changes: 1 addition & 4 deletions src/core/qgsprojutils.h
Expand Up @@ -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.
Expand Down