Skip to content
Permalink
Browse files

Remove class members that were never used

  • Loading branch information
wonder-sk committed Aug 16, 2017
1 parent d03f599 commit 42933a279b8ff152a84c2465b22e74805374d0c4
@@ -123,7 +123,6 @@ Catch the mouse move event, filters it, transforms it to map coordinates and sen
%End



};

/************************************************************************
@@ -21,10 +21,6 @@
QgsMapToolAdvancedDigitizing::QgsMapToolAdvancedDigitizing( QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget )
: QgsMapToolEdit( canvas )
, mCaptureMode( CapturePoint )
, mSnapOnPress( false )
, mSnapOnRelease( false )
, mSnapOnMove( false )
, mSnapOnDoubleClick( false )
, mCadDockWidget( cadDockWidget )
{
}
@@ -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:

/**
@@ -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;

0 comments on commit 42933a2

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