mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-30 00:04:11 -04:00
Remove initialization when it's already in header
This commit is contained in:
parent
08bbc90c9d
commit
442341f995
@ -26,7 +26,6 @@
|
||||
QgsMapToolAddCircle::QgsMapToolAddCircle( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||
, mParentTool( parentTool )
|
||||
, mTempRubberBand( nullptr )
|
||||
, mCircle( QgsCircle() )
|
||||
{
|
||||
clean();
|
||||
|
@ -46,7 +46,7 @@ class QgsMapToolAddCircle: public QgsMapToolCapture
|
||||
/** The parent map tool, e.g. the add feature tool.
|
||||
* Completed circle will be added to this tool by calling its addCurve() method.
|
||||
* */
|
||||
QgsMapToolCapture *mParentTool = nullptr;
|
||||
QgsMapToolCapture *mParentTool;
|
||||
//! Circle points (in map coordinates)
|
||||
QgsPointSequence mPoints;
|
||||
//! The rubberband to show the circular string currently working on
|
||||
|
@ -26,7 +26,6 @@
|
||||
QgsMapToolAddEllipse::QgsMapToolAddEllipse( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||
, mParentTool( parentTool )
|
||||
, mTempRubberBand( nullptr )
|
||||
, mEllipse( QgsEllipse() )
|
||||
{
|
||||
clean();
|
||||
|
@ -41,7 +41,7 @@ class QgsMapToolAddEllipse: public QgsMapToolCapture
|
||||
/** The parent map tool, e.g. the add feature tool.
|
||||
* Completed ellipse will be added to this tool by calling its toLineString() method.
|
||||
* */
|
||||
QgsMapToolCapture *mParentTool = nullptr;
|
||||
QgsMapToolCapture *mParentTool;
|
||||
//! Ellipse points (in map coordinates)
|
||||
QgsPointSequence mPoints;
|
||||
//! The rubberband to show the ellipse currently working on
|
||||
|
@ -27,7 +27,6 @@
|
||||
QgsMapToolAddRectangle::QgsMapToolAddRectangle( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||
, mParentTool( parentTool )
|
||||
, mTempRubberBand( nullptr )
|
||||
, mRectangle( QgsRectangle() )
|
||||
{
|
||||
clean();
|
||||
|
@ -44,7 +44,7 @@ class QgsMapToolAddRectangle: public QgsMapToolCapture
|
||||
/** The parent map tool, e.g. the add feature tool.
|
||||
* Completed regular shape will be added to this tool by calling its addCurve() method.
|
||||
* */
|
||||
QgsMapToolCapture *mParentTool = nullptr;
|
||||
QgsMapToolCapture *mParentTool;
|
||||
//! Regular Shape points (in map coordinates)
|
||||
QgsPointSequence mPoints;
|
||||
//! The rubberband to show the rectangle currently working on
|
||||
|
@ -26,7 +26,6 @@
|
||||
QgsMapToolAddRegularPolygon::QgsMapToolAddRegularPolygon( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
|
||||
: QgsMapToolCapture( canvas, QgisApp::instance()->cadDockWidget(), mode )
|
||||
, mParentTool( parentTool )
|
||||
, mTempRubberBand( nullptr )
|
||||
, mRegularPolygon( QgsRegularPolygon() )
|
||||
{
|
||||
clean();
|
||||
|
@ -36,7 +36,7 @@ class QgsMapToolAddRegularPolygon: public QgsMapToolCapture
|
||||
/** The parent map tool, e.g. the add feature tool.
|
||||
* Completed regular polygon will be added to this tool by calling its addCurve() method.
|
||||
* */
|
||||
QgsMapToolCapture *mParentTool = nullptr;
|
||||
QgsMapToolCapture *mParentTool;
|
||||
//! Regular Shape points (in map coordinates)
|
||||
QgsPointSequence mPoints;
|
||||
//! The rubberband to show the regular polygon currently working on
|
||||
|
Loading…
x
Reference in New Issue
Block a user