diff options
Diffstat (limited to 'examples/widgets/painting/pathstroke/pathstroke.h')
-rw-r--r-- | examples/widgets/painting/pathstroke/pathstroke.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/painting/pathstroke/pathstroke.h b/examples/widgets/painting/pathstroke/pathstroke.h index 743a757b0a..5e2a1ea579 100644 --- a/examples/widgets/painting/pathstroke/pathstroke.h +++ b/examples/widgets/painting/pathstroke/pathstroke.h @@ -53,7 +53,7 @@ class PathStrokeRenderer : public ArthurFrame public: enum PathMode { CurveMode, LineMode }; - PathStrokeRenderer(QWidget *parent, bool smallScreen = false); + explicit PathStrokeRenderer(QWidget *parent, bool smallScreen = false); void paint(QPainter *); void mousePressEvent(QMouseEvent *e); |