Skip to content
Permalink
Browse files

Add missing override

  • Loading branch information
nyalldawson committed Oct 24, 2017
1 parent 057a20c commit 49c41d39c2b05e87b7b4778a367cf0684599b5c8
Showing with 2 additions and 1 deletion.
  1. +1 −0 python/core/layout/qgslayoutitemnodeitem.sip
  2. +1 −1 src/core/layout/qgslayoutitemnodeitem.h
@@ -133,6 +133,7 @@ Returns the number of nodes in the shape.

virtual void draw( QgsRenderContext &context, const QStyleOptionGraphicsItem *itemStyle = 0 );


virtual bool writePropertiesToElement( QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context ) const;

virtual bool readPropertiesFromElement( const QDomElement &element, const QDomDocument &document, const QgsReadWriteContext &context );
@@ -131,7 +131,7 @@ class CORE_EXPORT QgsLayoutNodesItem: public QgsLayoutItem
*/
QgsLayoutNodesItem( const QPolygonF &polygon, QgsLayout *layout );

virtual void draw( QgsRenderContext &context, const QStyleOptionGraphicsItem *itemStyle = nullptr );
void draw( QgsRenderContext &context, const QStyleOptionGraphicsItem *itemStyle = nullptr ) override;

bool writePropertiesToElement( QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context ) const override;
bool readPropertiesFromElement( const QDomElement &element, const QDomDocument &document, const QgsReadWriteContext &context ) override;

0 comments on commit 49c41d3

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