File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -4831,18 +4831,6 @@ void QgisApp::options()
4831
4831
double zoomFactor = mySettings.value ( " /qgis/zoom_factor" , 2 ).toDouble ();
4832
4832
mMapCanvas ->setWheelAction (( QgsMapCanvas::WheelAction ) action, zoomFactor );
4833
4833
4834
- // set project CRS
4835
- QgsMapRenderer* myRenderer = mMapCanvas ->mapRenderer ();
4836
- QString defCrs = mySettings.value ( " /Projections/projectDefaultCrs" , GEO_EPSG_CRS_AUTHID ).toString ();
4837
- QgsCoordinateReferenceSystem srs;
4838
- srs.createFromOgcWmsCrs ( defCrs );
4839
- myRenderer->setDestinationSrs ( srs );
4840
- // write the projections _proj string_ to project settings
4841
- QgsProject::instance ()->writeEntry ( " SpatialRefSys" , " /ProjectCrs" , defCrs );
4842
- if ( srs.mapUnits () != QGis::UnknownUnit )
4843
- {
4844
- myRenderer->setMapUnits ( srs.mapUnits () );
4845
- }
4846
4834
// do we need this? TS
4847
4835
mMapCanvas ->refresh ();
4848
4836
}
You can’t perform that action at this time.
0 commit comments