Skip to content

Commit

Permalink
fix unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 28, 2022
1 parent aef39ea commit 71bb4f0
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshapecircularstringradius.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ bool QgsMapToolShapeCircularStringRadius::cadCanvasReleaseEvent( QgsMapMouseEven

void QgsMapToolShapeCircularStringRadius::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

if ( !mPoints.isEmpty() )
{
recalculateTempRubberBand( e->mapPoint() );
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshapeellipseextent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ bool QgsMapToolShapeEllipseExtent::cadCanvasReleaseEvent( QgsMapMouseEvent *e, c

void QgsMapToolShapeEllipseExtent::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshapeellipsefoci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ bool QgsMapToolShapeEllipseFoci::cadCanvasReleaseEvent( QgsMapMouseEvent *e, con

void QgsMapToolShapeEllipseFoci::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshaperectangle3points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ bool QgsMapToolShapeRectangle3Points::cadCanvasReleaseEvent( QgsMapMouseEvent *e

void QgsMapToolShapeRectangle3Points::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshaperectanglecenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ bool QgsMapToolShapeRectangleCenter::cadCanvasReleaseEvent( QgsMapMouseEvent *e,

void QgsMapToolShapeRectangleCenter::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshaperectangleextent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ bool QgsMapToolShapeRectangleExtent::cadCanvasReleaseEvent( QgsMapMouseEvent *e,

void QgsMapToolShapeRectangleExtent::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshaperegularpolygon2points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ bool QgsMapToolShapeRegularPolygon2Points::cadCanvasReleaseEvent( QgsMapMouseEve

void QgsMapToolShapeRegularPolygon2Points::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ bool QgsMapToolShapeRegularPolygonCenterCorner::cadCanvasReleaseEvent( QgsMapMou

void QgsMapToolShapeRegularPolygonCenterCorner::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down
2 changes: 2 additions & 0 deletions src/app/maptools/qgsmaptoolshaperegularpolygoncenterpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ bool QgsMapToolShapeRegularPolygonCenterPoint::cadCanvasReleaseEvent( QgsMapMous

void QgsMapToolShapeRegularPolygonCenterPoint::cadCanvasMoveEvent( QgsMapMouseEvent *e, const QgsVectorLayer *layer )
{
Q_UNUSED( layer )

const QgsPoint point = mParentTool->mapPoint( *e );

if ( mTempRubberBand )
Expand Down

0 comments on commit 71bb4f0

Please sign in to comment.