Skip to content

Commit

Permalink
Remove class members that were never used
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Aug 16, 2017
1 parent d03f599 commit 42933a2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion python/gui/qgsmaptooladvanceddigitizing.sip
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Catch the mouse move event, filters it, transforms it to map coordinates and sen
%End



};

/************************************************************************
Expand Down
4 changes: 0 additions & 4 deletions src/gui/qgsmaptooladvanceddigitizing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
QgsMapToolAdvancedDigitizing::QgsMapToolAdvancedDigitizing( QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget )
: QgsMapToolEdit( canvas )
, mCaptureMode( CapturePoint )
, mSnapOnPress( false )
, mSnapOnRelease( false )
, mSnapOnMove( false )
, mSnapOnDoubleClick( false )
, mCadDockWidget( cadDockWidget )
{
}
Expand Down
5 changes: 0 additions & 5 deletions src/gui/qgsmaptooladvanceddigitizing.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ class GUI_EXPORT QgsMapToolAdvancedDigitizing : public QgsMapToolEdit
//! The capture mode in which this tool operates
CaptureMode mCaptureMode;

bool mSnapOnPress; //!< Snap on press
bool mSnapOnRelease; //!< Snap on release
bool mSnapOnMove; //!< Snap on move
bool mSnapOnDoubleClick; //!< Snap on double-click

private slots:

/**
Expand Down
6 changes: 0 additions & 6 deletions src/gui/qgsmaptoolcapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ QgsMapToolCapture::QgsMapToolCapture( QgsMapCanvas *canvas, QgsAdvancedDigitizin
{
mCaptureMode = mode;

// enable the snapping on mouse move / release
mSnapOnMove = true;
mSnapOnRelease = true;
mSnapOnDoubleClick = false;
mSnapOnPress = false;

mCaptureModeFromLayer = mode == CaptureNone;
mCapturing = false;

Expand Down

0 comments on commit 42933a2

Please sign in to comment.