Skip to content

Commit

Permalink
initilize in header
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 20, 2018
1 parent 510a228 commit 42ca70b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/app/qgsmaptoolselectfreehand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ email : jpalmer at linz dot govt dot nz

QgsMapToolSelectFreehand::QgsMapToolSelectFreehand( QgsMapCanvas *canvas )
: QgsMapTool( canvas )
, mActive( false )
{
mRubberBand = nullptr;
mCursor = Qt::ArrowCursor;
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolselectfreehand.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class APP_EXPORT QgsMapToolSelectFreehand : public QgsMapTool
//! used for storing all of the maps point for the freehand sketch
QgsRubberBand *mRubberBand = nullptr;

bool mActive;
bool mActive = false;

QColor mFillColor;
QColor mStrokeColor;
Expand Down

0 comments on commit 42ca70b

Please sign in to comment.