Cppcheck warnings.

This commit is contained in:
Roman Telezhynskyi 2020-11-10 16:14:51 +02:00
parent 453d120150
commit 83225958de
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ public slots:
protected:
QRectF boundingRect() const override;
QPainterPath shape() const override;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *item, QWidget *widget) override;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
void mousePressEvent(QGraphicsSceneMouseEvent * event) override;
void mouseMoveEvent(QGraphicsSceneMouseEvent * event) override;

View File

@ -45,13 +45,13 @@ class VPSheet : public QObject
{
Q_OBJECT
public:
VPSheet(VPLayout* layout);
explicit VPSheet(VPLayout* layout);
~VPSheet();
/**
* @brief GetPieceList returns the piece list of the sheet
* @return
* @return piece list
*/
VPPieceList* GetPieceList();