From 5873bc8316d71274d622b73d96383eea787227b1 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Tue, 30 Jul 2019 11:57:41 +0200 Subject: [PATCH] fix typo --- src/app/qgisapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index 9906ec4333d..840a8e27ffe 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -5515,7 +5515,7 @@ bool QgisApp::fileNew( bool promptToSaveFlag, bool forceBlank ) const QgsCoordinateReferenceSystem srs = QgsCoordinateReferenceSystem( settings.value( QStringLiteral( "/projections/defaultProjectCrs" ), GEO_EPSG_CRS_AUTHID, QgsSettings::App ).toString() ); // write the projections _proj string_ to project settings const bool planimetric = settings.value( QStringLiteral( "/qgis/measure/planimetric" ), true ).toBool(); - prj->setCrs( srs, !planimetric ); // If the default ellipsoid is not planimetric, set it from the defualt crs + prj->setCrs( srs, !planimetric ); // If the default ellipsoid is not planimetric, set it from the default crs if ( planimetric ) prj->setEllipsoid( GEO_NONE );