We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9e98b commit 6505588Copy full SHA for 6505588
src/app/qgsmeasuretool.cpp
@@ -140,7 +140,6 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e )
140
{
141
if ( !mRightMouseClicked )
142
143
- QgsVectorLayer *vl = dynamic_cast<QgsVectorLayer *>( mCanvas->currentLayer() );
144
QgsPoint point = snapPoint( e->pos() );
145
146
mRubberBand->movePoint( point );
@@ -151,7 +150,6 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e )
151
150
152
void QgsMeasureTool::canvasReleaseEvent( QMouseEvent * e )
153
154
155
156
157
if ( e->button() == Qt::RightButton && ( e->buttons() & Qt::LeftButton ) == 0 ) // restart
0 commit comments