Skip to content

Commit

Permalink
Correctly mark method as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 28, 2016
1 parent e7d0392 commit 78bcd4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/gui/qgsmapcanvas.sip
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.h
Expand Up @@ -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 );
Expand Down

0 comments on commit 78bcd4b

Please sign in to comment.