Skip to content

Commit 42ca70b

Browse files
committedJan 20, 2018
initilize in header
1 parent 510a228 commit 42ca70b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎src/app/qgsmaptoolselectfreehand.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ email : jpalmer at linz dot govt dot nz
2525

2626
QgsMapToolSelectFreehand::QgsMapToolSelectFreehand( QgsMapCanvas *canvas )
2727
: QgsMapTool( canvas )
28-
, mActive( false )
2928
{
3029
mRubberBand = nullptr;
3130
mCursor = Qt::ArrowCursor;

‎src/app/qgsmaptoolselectfreehand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class APP_EXPORT QgsMapToolSelectFreehand : public QgsMapTool
4545
//! used for storing all of the maps point for the freehand sketch
4646
QgsRubberBand *mRubberBand = nullptr;
4747

48-
bool mActive;
48+
bool mActive = false;
4949

5050
QColor mFillColor;
5151
QColor mStrokeColor;

0 commit comments

Comments
 (0)
Please sign in to comment.