[QGIS Commit] r9648 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Nov 17 07:53:04 EST 2008
Author: mhugent
Date: 2008-11-17 07:53:04 -0500 (Mon, 17 Nov 2008)
New Revision: 9648
Modified:
trunk/qgis/src/app/qgsserversourceselect.cpp
Log:
Automatically select crs also when 'epsg' is lower case
Modified: trunk/qgis/src/app/qgsserversourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgsserversourceselect.cpp 2008-11-16 22:28:51 UTC (rev 9647)
+++ trunk/qgis/src/app/qgsserversourceselect.cpp 2008-11-17 12:53:04 UTC (rev 9648)
@@ -484,7 +484,7 @@
{
QStringList parts = i->split( ":" );
- if ( parts.at( 0 ) == "EPSG" )
+ if ( parts.at(0).compare("EPSG", Qt::CaseInsensitive) == 0 )
{
long epsg = atol( parts.at( 1 ).toUtf8() );
if ( epsg == m_Epsg )
More information about the QGIS-commit
mailing list