Skip to content

Commit

Permalink
Correct since indent legend (follow #39211)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicogodet committed Jun 25, 2021
1 parent f14e098 commit ff388dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgslegendstyle.sip.in
Expand Up @@ -111,7 +111,7 @@ Returns the indent (in mm) of a group or subgroup.

.. seealso:: :py:func:`indent`

.. versionadded:: 3.18
.. versionadded:: 3.22
%End

void setIndent( double indent );
Expand All @@ -120,7 +120,7 @@ Sets the indent (in mm) of a group or subgroup.

.. seealso:: :py:func:`indent`

.. versionadded:: 3.18
.. versionadded:: 3.22
%End

void writeXml( const QString &name, QDomElement &elem, QDomDocument &doc, const QgsReadWriteContext &context = QgsReadWriteContext() ) const;
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgslegendstyle.h
Expand Up @@ -125,15 +125,15 @@ class CORE_EXPORT QgsLegendStyle
* Returns the indent (in mm) of a group or subgroup.
*
* \see indent()
* \since QGIS 3.18
* \since QGIS 3.22
*/
double indent() { return mIndent; }

/**
* Sets the indent (in mm) of a group or subgroup.
*
* \see indent()
* \since QGIS 3.18
* \since QGIS 3.22
*/
void setIndent( double indent ) { mIndent = indent; }

Expand Down

0 comments on commit ff388dc

Please sign in to comment.