Skip to content
Permalink
Browse files

Remove unused variable

  • Loading branch information
jdugge committed Feb 20, 2019
1 parent ef912d2 commit 29a5bd9e19b0064babdf51dae67c7769dc00f85a
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/gui/qgsadvanceddigitizingcanvasitem.cpp
@@ -69,8 +69,7 @@ void QgsAdvancedDigitizingCanvasItem::paint( QPainter *painter )
if ( mupp == 0 )
return;

const double canvasRotation = mMapCanvas->rotation();
const double canvasRotationRad = canvasRotation * M_PI / 180;
const double canvasRotationRad = mMapCanvas->rotation() * M_PI / 180;
const double canvasMaxDimension = std::max( canvasWidth / mupp, canvasHeight / mupp );

QPointF curPointPix, prevPointPix, penulPointPix, snapSegmentPix1, snapSegmentPix2;

0 comments on commit 29a5bd9

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