Skip to content
Permalink
Browse files

Correctly mark method as deprecated

  • Loading branch information
nyalldawson committed May 28, 2016
1 parent e7d0392 commit 78bcd4b10c917fa96303860661ed1aa99c638822
Showing with 3 additions and 3 deletions.
  1. +2 −2 python/gui/qgsmapcanvas.sip
  2. +1 −1 src/gui/qgsmapcanvas.h
@@ -279,8 +279,8 @@ class QgsMapCanvas : QGraphicsView
QgsMapLayer* currentLayer();

//! set wheel action and zoom factor (should be greater than 1)
//! @deprecated
void setWheelAction( WheelAction action, double factor = 2 );
//! @deprecated No more options for wheel action
void setWheelAction( WheelAction action, double factor = 2 ) /Deprecated/;

//! set the wheel zoom factor
void setWheelFactor( double factor );
@@ -344,7 +344,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView

//! set wheel action and zoom factor (should be greater than 1)
//! @deprecated No more options for wheel action
void setWheelAction( WheelAction action, double factor = 2 );
Q_DECL_DEPRECATED void setWheelAction( WheelAction action, double factor = 2 );

//! set wheel zoom factor (should be greater than 1)
void setWheelFactor( double factor );

0 comments on commit 78bcd4b

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