File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,8 +279,8 @@ class QgsMapCanvas : QGraphicsView
279
279
QgsMapLayer* currentLayer();
280
280
281
281
//! set wheel action and zoom factor (should be greater than 1)
282
- //! @deprecated
283
- void setWheelAction( WheelAction action, double factor = 2 );
282
+ //! @deprecated No more options for wheel action
283
+ void setWheelAction( WheelAction action, double factor = 2 ) /Deprecated/ ;
284
284
285
285
//! set the wheel zoom factor
286
286
void setWheelFactor( double factor );
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
344
344
345
345
// ! set wheel action and zoom factor (should be greater than 1)
346
346
// ! @deprecated No more options for wheel action
347
- void setWheelAction ( WheelAction action, double factor = 2 );
347
+ Q_DECL_DEPRECATED void setWheelAction ( WheelAction action, double factor = 2 );
348
348
349
349
// ! set wheel zoom factor (should be greater than 1)
350
350
void setWheelFactor ( double factor );
You can’t perform that action at this time.
0 commit comments