fix doc deprecation warning for snappingTypeFlagToIcon

redirected to the correct replacement method
This commit is contained in:
pers-ephone 2024-11-18 14:40:50 +01:00 committed by Nyall Dawson
parent ac7a7fc78e
commit 42baffed22

View File

@ -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 );}