Skip to content
Permalink
Browse files

Suppress old constructors

  • Loading branch information
lbartoletti committed Sep 27, 2017
1 parent ba07676 commit 48da69101830ed7f96035e8e13641ccdacbebf57
@@ -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();
@@ -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();
@@ -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;
@@ -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();

0 comments on commit 48da691

Please sign in to comment.
You can’t perform that action at this time.