Skip to content
Permalink
Browse files

Fix build warnings

  • Loading branch information
nyalldawson committed Jul 3, 2017
1 parent 7972092 commit ada01d8671c6efdee6936951338001977075114e
Showing with 2 additions and 9 deletions.
  1. +0 −6 python/core/layout/qgslayoutitem.sip
  2. +2 −3 src/core/layout/qgslayoutitem.h
@@ -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
@@ -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

0 comments on commit ada01d8

Please sign in to comment.
You can’t perform that action at this time.