Skip to content

Commit

Permalink
Fix clazy invalid slot warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 2, 2018
1 parent 2682a74 commit 7761360
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/core/layout/qgslayoutitem.sip.in
Expand Up @@ -852,6 +852,9 @@ Cancels the current item command and discards it.
Returns whether the item should be drawn in the current context.
%End

virtual QgsExpressionContext createExpressionContext() const;


public slots:

virtual void refresh();
Expand Down Expand Up @@ -900,9 +903,6 @@ Rotates the item by a specified ``angle`` in degrees clockwise around a specifie
.. seealso:: :py:func:`itemRotation`
%End

virtual QgsExpressionContext createExpressionContext() const;


signals:

void frameChanged();
Expand Down
4 changes: 2 additions & 2 deletions src/core/layout/qgslayoutitem.h
Expand Up @@ -765,6 +765,8 @@ class CORE_EXPORT QgsLayoutItem : public QgsLayoutObject, public QGraphicsRectIt
*/
bool shouldDrawItem() const;

QgsExpressionContext createExpressionContext() const override;

public slots:

/**
Expand Down Expand Up @@ -809,8 +811,6 @@ class CORE_EXPORT QgsLayoutItem : public QgsLayoutObject, public QGraphicsRectIt
*/
virtual void rotateItem( const double angle, const QPointF &transformOrigin );

QgsExpressionContext createExpressionContext() const override;

signals:

/**
Expand Down

0 comments on commit 7761360

Please sign in to comment.