Skip to content

Commit

Permalink
Add missing override
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 7, 2017
1 parent 057a20c commit 49c41d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/core/layout/qgslayoutitemnodeitem.sip
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitemnodeitem.h
Expand Up @@ -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;
Expand Down

0 comments on commit 49c41d3

Please sign in to comment.