We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0afdf1a commit 1aab1bdCopy full SHA for 1aab1bd
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