[QGIS Commit] r15421 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Mar 10 16:26:59 EST 2011
Author: timlinux
Date: 2011-03-10 13:26:59 -0800 (Thu, 10 Mar 2011)
New Revision: 15421
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
Dont apply otf settings to current project after closing options box - it should only be used when a new project is created.
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2011-03-10 20:23:26 UTC (rev 15420)
+++ trunk/qgis/src/app/qgisapp.cpp 2011-03-10 21:26:59 UTC (rev 15421)
@@ -4819,16 +4819,7 @@
{
myRenderer->setMapUnits( srs.mapUnits() );
}
-
- //apply OTF CRS transformation if necessary
- if ( mySettings.value( "/Projections/otfTransformEnabled", 0 ).toBool() )
- {
- myRenderer->setProjectionsEnabled( true );
- }
- else
- {
- myRenderer->setProjectionsEnabled( false );
- }
+ //do we need this? TS
mMapCanvas->refresh();
}
More information about the QGIS-commit
mailing list