Skip to content

Commit 1aab1bd

Browse files
author
jef
committedOct 3, 2009

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/app/qgsmeasuretool.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e )
140140
{
141141
if ( !mRightMouseClicked )
142142
{
143-
QgsVectorLayer *vl = dynamic_cast<QgsVectorLayer *>( mCanvas->currentLayer() );
144143
QgsPoint point = snapPoint( e->pos() );
145144

146145
mRubberBand->movePoint( point );
@@ -151,7 +150,6 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e )
151150

152151
void QgsMeasureTool::canvasReleaseEvent( QMouseEvent * e )
153152
{
154-
QgsVectorLayer *vl = dynamic_cast<QgsVectorLayer *>( mCanvas->currentLayer() );
155153
QgsPoint point = snapPoint( e->pos() );
156154

157155
if ( e->button() == Qt::RightButton && ( e->buttons() & Qt::LeftButton ) == 0 ) // restart

0 commit comments

Comments
 (0)
Please sign in to comment.