Skip to content
Permalink
Browse files
Add missing override
  • Loading branch information
nyalldawson committed Nov 7, 2017
1 parent 057a20c commit 49c41d39c2b05e87b7b4778a367cf0684599b5c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -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.