From d38681b853243dbea03d0e3ec4e8f43458c634c0 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 16 May 2017 15:35:50 +0300 Subject: [PATCH] Cppcheck warning. --HG-- branch : develop --- src/libs/vwidgets/vcurvepathitem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;