Add missing transfer annotation

This commit is contained in:
Nyall Dawson 2021-09-10 13:37:47 +10:00
parent 804bf021cc
commit ae4c1b0d2a
2 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ Returns the current paint effect for the renderer.
.. versionadded:: 2.9
%End
void setPaintEffect( QgsPaintEffect *effect );
void setPaintEffect( QgsPaintEffect *effect /Transfer/ );
%Docstring
Sets the current paint effect for the renderer.

View File

@ -415,7 +415,7 @@ class CORE_EXPORT QgsFeatureRenderer
* \see paintEffect
* \since QGIS 2.9
*/
void setPaintEffect( QgsPaintEffect *effect );
void setPaintEffect( QgsPaintEffect *effect SIP_TRANSFER );
/**
* Returns whether the renderer must render as a raster.