Skip to content

Commit

Permalink
Suppress old constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Sep 27, 2017
1 parent ba07676 commit 48da691
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
9 changes: 0 additions & 9 deletions src/app/qgsmaptooladdcircle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ QgsMapToolAddCircle::QgsMapToolAddCircle( QgsMapToolCapture *parentTool, QgsMapC
clean();
}

QgsMapToolAddCircle::QgsMapToolAddCircle( QgsMapCanvas *canvas )
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget() )
, mParentTool( nullptr )
, mTempRubberBand( nullptr )
, mCircle( QgsCircle() )
{
clean();
}

QgsMapToolAddCircle::~QgsMapToolAddCircle()
{
clean();
Expand Down
9 changes: 0 additions & 9 deletions src/app/qgsmaptooladdellipse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ QgsMapToolAddEllipse::QgsMapToolAddEllipse( QgsMapToolCapture *parentTool, QgsMa
clean();
}

QgsMapToolAddEllipse::QgsMapToolAddEllipse( QgsMapCanvas *canvas )
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget() )
, mParentTool( nullptr )
, mTempRubberBand( nullptr )
, mEllipse( QgsEllipse() )
{
clean();
}

QgsMapToolAddEllipse::~QgsMapToolAddEllipse()
{
clean();
Expand Down
9 changes: 0 additions & 9 deletions src/app/qgsmaptooladdrectangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ QgsMapToolAddRectangle::QgsMapToolAddRectangle( QgsMapToolCapture *parentTool, Q
clean();
}

QgsMapToolAddRectangle::QgsMapToolAddRectangle( QgsMapCanvas *canvas )
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget() )
, mParentTool( nullptr )
, mTempRubberBand( nullptr )
, mRectangle( QgsRectangle() )
{
clean();
}

void QgsMapToolAddRectangle::setAzimuth( const double azimuth )
{
mAzimuth = azimuth;
Expand Down
9 changes: 0 additions & 9 deletions src/app/qgsmaptooladdregularpolygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ QgsMapToolAddRegularPolygon::QgsMapToolAddRegularPolygon( QgsMapToolCapture *par
clean();
}

QgsMapToolAddRegularPolygon::QgsMapToolAddRegularPolygon( QgsMapCanvas *canvas )
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget() )
, mParentTool( nullptr )
, mTempRubberBand( nullptr )
, mRegularPolygon( QgsRegularPolygon() )
{
clean();
}

QgsMapToolAddRegularPolygon::~QgsMapToolAddRegularPolygon()
{
clean();
Expand Down

0 comments on commit 48da691

Please sign in to comment.