Skip to content
Permalink
Browse files

Fix typo

  • Loading branch information
nyalldawson committed Jan 10, 2019
1 parent 7088008 commit b4d764ae74892ae84e12d7e525ea02d69a03f54b
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/core/qgslegendrenderer.cpp
  2. +1 −1 src/core/qgslegendrenderer.h
@@ -471,10 +471,10 @@ double QgsLegendRenderer::spaceAboveAtom( const Atom &atom )
// Draw atom and expand its size (using actual nucleons labelXOffset)
QSizeF QgsLegendRenderer::drawAtom( const Atom &atom, QPainter *painter, QPointF point )
{
return drawAtomInteral( atom, nullptr, painter, point );
return drawAtomInternal( atom, nullptr, painter, point );
}

QSizeF QgsLegendRenderer::drawAtomInteral( const Atom &atom, QgsRenderContext *context, QPainter *painter, QPointF point )
QSizeF QgsLegendRenderer::drawAtomInternal( const Atom &atom, QgsRenderContext *context, QPainter *painter, QPointF point )
{
bool first = true;
QSizeF size = QSizeF( atom.size );
@@ -694,7 +694,7 @@ QSizeF QgsLegendRenderer::drawTitle( QgsRenderContext *rendercontext, QPointF po

QSizeF QgsLegendRenderer::drawAtom( const Atom &atom, QgsRenderContext *rendercontext, QPointF point )
{
return drawAtomInteral( atom, rendercontext, nullptr, point );
return drawAtomInternal( atom, rendercontext, nullptr, point );
}

QgsLegendRenderer::Nucleon QgsLegendRenderer::drawSymbolItem( QgsLayerTreeModelLegendNode *symbolItem, QgsRenderContext *rendercontext, QPointF point, double labelXOffset )
@@ -294,7 +294,7 @@ class CORE_EXPORT QgsLegendRenderer

#endif
QSizeF drawTitleInternal( QgsRenderContext *context, QPainter *painter, QPointF point, Qt::AlignmentFlag halignment, double legendWidth );
QSizeF drawAtomInteral( const Atom &atom, QgsRenderContext *context, QPainter *painter, QPointF point );
QSizeF drawAtomInternal( const Atom &atom, QgsRenderContext *context, QPainter *painter, QPointF point );
QgsLegendRenderer::Nucleon drawSymbolItemInternal( QgsLayerTreeModelLegendNode *symbolItem, QgsRenderContext *context, QPainter *painter, QPointF point, double labelXOffset );
QSizeF drawLayerTitleInternal( QgsLayerTreeLayer *nodeLayer, QgsRenderContext *context, QPainter *painter, QPointF point );
QSizeF drawGroupTitleInternal( QgsLayerTreeGroup *nodeGroup, QgsRenderContext *context, QPainter *painter, QPointF point );

0 comments on commit b4d764a

Please sign in to comment.
You can’t perform that action at this time.