Skip to content

Commit

Permalink
fix override warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 7, 2017
1 parent 96a81a9 commit 27dbb48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/layout/qgslayoutitemlabel.sip
Expand Up @@ -202,7 +202,7 @@ class QgsLayoutItemLabel: QgsLayoutItem
virtual QRectF boundingRect() const;


virtual void setFrameEnabled( const bool drawFrame );
virtual void setFrameEnabled( bool drawFrame );


virtual void setFrameStrokeWidth( const QgsLayoutMeasurement &strokeWidth );
Expand Down
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitemlabel.h
Expand Up @@ -209,7 +209,7 @@ class CORE_EXPORT QgsLayoutItemLabel: public QgsLayoutItem
QRectF boundingRect() const override;

// Reimplemented to call prepareGeometryChange after toggling frame
void setFrameEnabled( const bool drawFrame ) override;
void setFrameEnabled( bool drawFrame ) override;

// Reimplemented to call prepareGeometryChange after changing stroke width
void setFrameStrokeWidth( const QgsLayoutMeasurement &strokeWidth ) override;
Expand Down

0 comments on commit 27dbb48

Please sign in to comment.