Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 3, 2017
1 parent 7972092 commit ada01d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions python/core/layout/qgslayoutitem.sip
Expand Up @@ -26,12 +26,6 @@ class QgsLayoutItem : QgsLayoutObject, QGraphicsRectItem
Constructor for QgsLayoutItem, with the specified parent ``layout``.
%End

virtual int type() const = 0;
%Docstring
Return correct graphics item type.
:rtype: int
%End

virtual void paint( QPainter *painter, const QStyleOptionGraphicsItem *itemStyle, QWidget *pWidget );

%Docstring
Expand Down
5 changes: 2 additions & 3 deletions src/core/layout/qgslayoutitem.h
Expand Up @@ -34,16 +34,15 @@ class QPainter;
class CORE_EXPORT QgsLayoutItem : public QgsLayoutObject, public QGraphicsRectItem
{

Q_OBJECT

public:

/**
* Constructor for QgsLayoutItem, with the specified parent \a layout.
*/
QgsLayoutItem( QgsLayout *layout );

//! Return correct graphics item type.
virtual int type() const = 0;

/**
* Handles preparing a paint surface for the layout item and painting the item's
* content. Derived classes must not override this method, but instead implement
Expand Down

0 comments on commit ada01d8

Please sign in to comment.