[QGIS Commit] r14202 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Sep 8 06:11:03 EDT 2010


Author: timlinux
Date: 2010-09-08 10:11:03 +0000 (Wed, 08 Sep 2010)
New Revision: 14202

Modified:
   trunk/qgis/src/core/qgscoordinatereferencesystem.cpp
Log:
Soft code start id for user crs

Modified: trunk/qgis/src/core/qgscoordinatereferencesystem.cpp
===================================================================
--- trunk/qgis/src/core/qgscoordinatereferencesystem.cpp	2010-09-08 09:30:55 UTC (rev 14201)
+++ trunk/qgis/src/core/qgscoordinatereferencesystem.cpp	2010-09-08 10:11:03 UTC (rev 14202)
@@ -167,7 +167,7 @@
 
 bool QgsCoordinateReferenceSystem::createFromSrsId( long id )
 {
-  return loadFromDb( id < 100000 ? QgsApplication::srsDbFilePath() :
+  return loadFromDb( id < USER_CRS_START_ID ? QgsApplication::srsDbFilePath() :
                      QgsApplication::qgisUserDbFilePath(), "srs_id", QString::number( id ) );
 }
 



More information about the QGIS-commit mailing list