diff --git a/src/libs/vwidgets/vcurvepathitem.h b/src/libs/vwidgets/vcurvepathitem.h index 3ac101043..11ba5989a 100644 --- a/src/libs/vwidgets/vcurvepathitem.h +++ b/src/libs/vwidgets/vcurvepathitem.h @@ -35,7 +35,7 @@ class VCurvePathItem : public QGraphicsPathItem { public: - VCurvePathItem(QGraphicsItem *parent = nullptr); + explicit VCurvePathItem(QGraphicsItem *parent = nullptr); virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) Q_DECL_OVERRIDE;