Skip to content
Permalink
Browse files

Distance area no longer needed

  • Loading branch information
m-kuhn committed Mar 11, 2019
1 parent 90dd8a0 commit d3887c2af2eb2bb3d85908b5ed3465bfe7ba6c60
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/app/qgslabelinggui.cpp
@@ -711,11 +711,6 @@ void QgsLabelingGui::showGeometryGeneratorExpressionBuilder()
expressionBuilder.setExpressionText( mGeometryGenerator->text() );
expressionBuilder.setExpressionContext( createExpressionContext() );

QgsDistanceArea da;
da.setSourceCrs( mLayer->crs(), QgsProject::instance()->transformContext() );
da.setEllipsoid( QgsProject::instance()->ellipsoid() );
expressionBuilder.setGeomCalculator( da );

if ( expressionBuilder.exec() )
{
mGeometryGenerator->setText( expressionBuilder.expressionText() );

0 comments on commit d3887c2

Please sign in to comment.
You can’t perform that action at this time.