Cppcheck warnings.
This commit is contained in:
parent
0371905c0d
commit
453d120150
|
@ -38,7 +38,7 @@ class VPCarrouselPieceList : public QListWidget
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
VPCarrouselPieceList(QWidget* parent);
|
||||
explicit VPCarrouselPieceList(QWidget* parent);
|
||||
~VPCarrouselPieceList();
|
||||
|
||||
/**
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
~VPGraphicsSheet();
|
||||
|
||||
QRectF boundingRect() const override;
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *item, QWidget *widget) override;
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
|
||||
|
||||
|
||||
QRectF GetSheetRect() const;
|
||||
|
|
|
@ -42,7 +42,7 @@ class VPPiece : public QObject, public VLayoutPiece
|
|||
Q_OBJECT
|
||||
public:
|
||||
VPPiece();
|
||||
VPPiece(VLayoutPiece layoutPiece);
|
||||
explicit VPPiece(VLayoutPiece layoutPiece);
|
||||
|
||||
~VPPiece();
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ void VGraphicsSimpleTextItem::SetShowParentTooltip(bool show)
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VGraphicsSimpleTextItem::SetRealPos(QPointF pos)
|
||||
void VGraphicsSimpleTextItem::SetRealPos(const QPointF &pos)
|
||||
{
|
||||
m_realPos = pos;
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
|
||||
void SetShowParentTooltip(bool show);
|
||||
|
||||
void SetRealPos(QPointF pos);
|
||||
void SetRealPos(const QPointF &pos);
|
||||
|
||||
QColor BaseColor() const;
|
||||
void SetBaseColor(const QColor &baseColor);
|
||||
|
|
Loading…
Reference in New Issue
Block a user