Skip to content

Commit

Permalink
Add missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 1, 2017
1 parent bcc1b91 commit 3c238a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions python/core/layout/qgslayoutframe.sip
Expand Up @@ -114,8 +114,10 @@ class QgsLayoutFrame: QgsLayoutItem

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

void drawFrame( QgsRenderContext &context );
void drawBackground( QgsRenderContext &context );
virtual void drawFrame( QgsRenderContext &context );

virtual void drawBackground( QgsRenderContext &context );


};

Expand Down
4 changes: 2 additions & 2 deletions src/core/layout/qgslayoutframe.h
Expand Up @@ -120,8 +120,8 @@ class CORE_EXPORT QgsLayoutFrame: public QgsLayoutItem
protected:

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

private:
QgsLayoutFrame() = delete;
Expand Down

0 comments on commit 3c238a2

Please sign in to comment.