summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qstroker_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-12-08 08:20:36 +0100
committerLiang Qi <liang.qi@qt.io>2016-12-08 08:20:36 +0100
commitcae32bd04d117ba2423a8c4db12f8d2d5b809bcb (patch)
tree179cc91b4b34b9e7ec587d576e42d89fc13fec43 /src/gui/painting/qstroker_p.h
parente1a70ce495928e8d81e80b11d7dbd4c4913ee438 (diff)
parent04f68053df5c90dca6947c6d2a5bb4e6851e62bb (diff)
Merge remote-tracking branch 'origin/5.7' into 5.8.0
Diffstat (limited to 'src/gui/painting/qstroker_p.h')
-rw-r--r--src/gui/painting/qstroker_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qstroker_p.h b/src/gui/painting/qstroker_p.h
index ededb5d80b..1a7c184e1a 100644
--- a/src/gui/painting/qstroker_p.h
+++ b/src/gui/painting/qstroker_p.h
@@ -234,7 +234,7 @@ protected:
static Qt::PenJoinStyle joinForJoinMode(LineJoinMode mode);
static LineJoinMode joinModeForJoin(Qt::PenJoinStyle joinStyle);
- virtual void processCurrentSubpath();
+ void processCurrentSubpath() override;
qfixed m_strokeWidth;
qfixed m_miterLimit;
@@ -265,14 +265,14 @@ public:
void setDashOffset(qreal offset) { m_dashOffset = offset; }
qreal dashOffset() const { return m_dashOffset; }
- virtual void begin(void *data);
- virtual void end();
+ void begin(void *data) override;
+ void end() override;
inline void setStrokeWidth(qreal width) { m_stroke_width = width; }
inline void setMiterLimit(qreal limit) { m_miter_limit = limit; }
protected:
- virtual void processCurrentSubpath();
+ void processCurrentSubpath() override;
QStroker *m_stroker;
QVector<qfixed> m_dashPattern;