Skip to content
Permalink
Browse files

QgsProjUtils::searchPaths(): avoid potential bug for a future PROJ 7.1.0

We can remove this test as PROJ >= 6.3.0 is now a requirement for the PROJ 6
code paths.
  • Loading branch information
rouault authored and nyalldawson committed Jan 29, 2020
1 parent d1b2d2f commit ed3e0d93d1c5b819340b61127f5789b25887fae1
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/core/qgsprojutils.cpp
@@ -315,15 +315,10 @@ QStringList QgsProjUtils::searchPaths()
#if PROJ_VERSION_MAJOR>=6
const QString path( proj_info().searchpath );
QStringList paths;
#if PROJ_VERSION_MINOR==1 && PROJ_VERSION_PATCH==0
// -- see https://github.com/OSGeo/proj.4/pull/1497
paths = path.split( ';' );
#else
#ifdef Q_OS_WIN
paths = path.split( ';' );
#else
paths = path.split( ':' );
#endif
#endif

QSet<QString> existing;

0 comments on commit ed3e0d9

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