Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 10, 2019
1 parent 2a2995a commit c7d09a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgslegendrenderer.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Painter should be scaled beforehand so that units correspond to millimeters.

void drawLegend( QgsRenderContext *rendercontext );
%Docstring
Draw the legend using a given :py:class:`QgsRenderContext`. It willoccupy the area reported in legendSize().
Draw the legend using a given :py:class:`QgsRenderContext`. It will occupy the area reported in legendSize().
%End

static void setNodeLegendStyle( QgsLayerTreeNode *node, QgsLegendStyle::Style style );
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgslegendrenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ class CORE_EXPORT QgsLegendRenderer

/**
* Draw the legend with given painter. It will occupy the area reported in legendSize().
* Painter should be scaled beforehand so that units correspond to millimeters.
* Painter should be scaled beforehand so that units correspond to millimeters.
*/
void drawLegend( QPainter *painter );

/**
* Draw the legend using a given QgsRenderContext. It willoccupy the area reported in legendSize().
* Draw the legend using a given QgsRenderContext. It will occupy the area reported in legendSize().
*/
void drawLegend( QgsRenderContext *rendercontext );

Expand Down

0 comments on commit c7d09a3

Please sign in to comment.