Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Oct 21, 2024
1 parent 7afd49f commit 1f39fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/test/testmaptools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void TestMapTools::testMeasuring()
measurementTool->setMapSettings( ms );

QgsDistanceArea distanceArea;
distanceArea.setEllipsoid( QStringLiteral( "WGS84" ) );
distanceArea.setEllipsoid( ms->project()->ellipsoid() );
distanceArea.setSourceCrs( ms->destinationCrs(), ms->transformContext() );

QPointF crosshairPoint1 = ms->coordinateToScreen( QgsPoint( 0, 0 ) );
Expand Down

1 comment on commit 1f39fc6

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.10.687011 just submitted!

Please sign in to comment.