Skip to content
Permalink
Browse files
fix warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@11745 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 3, 2009
1 parent de9e98b commit 65055889207705c0c1404a112cfc90cb64fbd01d
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/app/qgsmeasuretool.cpp
@@ -140,7 +140,6 @@ void QgsMeasureTool::canvasMoveEvent( QMouseEvent * e )
{
if ( !mRightMouseClicked )
{
QgsVectorLayer *vl = dynamic_cast<QgsVectorLayer *>( mCanvas->currentLayer() );
QgsPoint point = snapPoint( e->pos() );

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

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

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

0 comments on commit 6505588

Please sign in to comment.