diff --git a/python/gui/auto_generated/symbology/qgssymbollayerwidget.sip.in b/python/gui/auto_generated/symbology/qgssymbollayerwidget.sip.in index 4f3e365a3d24..36061e566d58 100644 --- a/python/gui/auto_generated/symbology/qgssymbollayerwidget.sip.in +++ b/python/gui/auto_generated/symbology/qgssymbollayerwidget.sip.in @@ -451,10 +451,19 @@ Creates a new QgsSvgMarkerSymbolLayerWidget. public slots: void setSvgPath( const QString &name ); +%Docstring +Sets the SVG path +%End protected: - void populateList(); + + void populateList() /Deprecated/; +%Docstring +This method does nothing anymore, the loading is automatic + +.. deprecated:: QGIS 3.16 +%End void setGuiForSvg( const QgsSvgMarkerSymbolLayer *layer, bool skipDefaultColors = false ); %Docstring diff --git a/src/gui/symbology/qgssymbollayerwidget.h b/src/gui/symbology/qgssymbollayerwidget.h index 52b809cc8667..a3dcf672f63b 100644 --- a/src/gui/symbology/qgssymbollayerwidget.h +++ b/src/gui/symbology/qgssymbollayerwidget.h @@ -599,12 +599,18 @@ class GUI_EXPORT QgsSvgMarkerSymbolLayerWidget : public QgsSymbolLayerWidget, pr void setContext( const QgsSymbolWidgetContext &context ) override; public slots: + //! Sets the SVG path void setSvgPath( const QString &name ); protected: // TODO QGIS 4: remove - Q_DECL_DEPRECATED void populateList() {}; + + /** + * This method does nothing anymore, the loading is automatic + * \deprecated since QGIS 3.16 + */ + Q_DECL_DEPRECATED void populateList() SIP_DEPRECATED {} /** * Updates the GUI to reflect the SVG marker symbol \a layer.