Skip to content

Commit

Permalink
fix doc deprecation warning for snappingTypeFlagToIcon
Browse files Browse the repository at this point in the history
redirected to the correct replacement method
  • Loading branch information
pers-ephone authored and nyalldawson committed Dec 2, 2024
1 parent 682aae0 commit f432778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgssnappingconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class CORE_EXPORT QgsSnappingConfig
/**
* Convenient method to return an icon corresponding to the enum type
* Qgis::SnappingTypes.
* \deprecated QGIS 3.26. Use Qgis::snappingTypeToString instead.
* \deprecated QGIS 3.26. Use Qgis::snappingTypeToIcon instead.
* \since QGIS 3.20
*/
Q_DECL_DEPRECATED static QIcon snappingTypeFlagToIcon( Qgis::SnappingType type ) SIP_DEPRECATED {return snappingTypeToIcon( type );}
Expand Down

0 comments on commit f432778

Please sign in to comment.