Skip to content

Commit

Permalink
update docu since 3.8
Browse files Browse the repository at this point in the history
(cherry-picked from 6b09be7)
  • Loading branch information
signedav committed Feb 26, 2019
1 parent 42cd135 commit 741fb7d
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/qgslegendsettings.sip.in
Expand Up @@ -200,7 +200,7 @@ Returns the factor of map units per pixel for symbols with size given in map uni

.. seealso:: :py:func:`setMapUnitsPerPixel`

.. versionadded:: 3.6
.. versionadded:: 3.8
%End

void setMapUnitsPerPixel( double mapUnitsPerPixel );
Expand All @@ -209,7 +209,7 @@ Sets the the mmPerMapUnit calculated by ``mapUnitsPerPixel`` mostly taken from t

.. seealso:: :py:func:`mapUnitsPerPixel`

.. versionadded:: 3.6
.. versionadded:: 3.8
%End

int dpi() const;
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgslegendsettings.h
Expand Up @@ -181,14 +181,14 @@ class CORE_EXPORT QgsLegendSettings
/**
* Returns the factor of map units per pixel for symbols with size given in map units calculated by dpi and mmPerMapUnit
* \see setMapUnitsPerPixel()
* \since QGIS 3.6
* \since QGIS 3.8
*/
double mapUnitsPerPixel() const;

/**
* Sets the the mmPerMapUnit calculated by \a mapUnitsPerPixel mostly taken from the map settings.
* \see mapUnitsPerPixel()
* \since QGIS 3.6
* \since QGIS 3.8
*/
void setMapUnitsPerPixel( double mapUnitsPerPixel );

Expand Down

0 comments on commit 741fb7d

Please sign in to comment.