Skip to content
Permalink
Browse files

initilize in header

  • Loading branch information
3nids committed Jan 19, 2018
1 parent 510a228 commit 42ca70b948852adc96bafff62d82fc1571528035
Showing with 1 addition and 2 deletions.
  1. +0 −1 src/app/qgsmaptoolselectfreehand.cpp
  2. +1 −1 src/app/qgsmaptoolselectfreehand.h
@@ -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;
@@ -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;

0 comments on commit 42ca70b

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