diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-22 11:44:14 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-29 19:19:47 +0200 |
commit | 9fa3cf15c8500fba5bbb861f1925160815ae2afd (patch) | |
tree | f779e08446bf302803b27130cf4c92fe46ba68b6 /src/gui/painting/qstroker_p.h | |
parent | c70c4e42665eb34e677fc51a49552c9af3f58d7a (diff) |
Use QList instead of QVector in gui
Applied to headers only. Source file to be changed separately.
Task-number: QTBUG-84469
Change-Id: Ic08a899321eaffc46b8461aaee3dbaa4d2c727a9
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/painting/qstroker_p.h')
-rw-r--r-- | src/gui/painting/qstroker_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qstroker_p.h b/src/gui/painting/qstroker_p.h index 3207f1944b..0a9f55f222 100644 --- a/src/gui/painting/qstroker_p.h +++ b/src/gui/painting/qstroker_p.h @@ -263,10 +263,10 @@ public: QStroker *stroker() const { return m_stroker; } - static QVector<qfixed> patternForStyle(Qt::PenStyle style); + static QList<qfixed> patternForStyle(Qt::PenStyle style); - void setDashPattern(const QVector<qfixed> &dashPattern) { m_dashPattern = dashPattern; } - QVector<qfixed> dashPattern() const { return m_dashPattern; } + void setDashPattern(const QList<qfixed> &dashPattern) { m_dashPattern = dashPattern; } + QList<qfixed> dashPattern() const { return m_dashPattern; } void setDashOffset(qreal offset) { m_dashOffset = offset; } qreal dashOffset() const { return m_dashOffset; } @@ -281,7 +281,7 @@ protected: void processCurrentSubpath() override; QStroker *m_stroker; - QVector<qfixed> m_dashPattern; + QList<qfixed> m_dashPattern; qreal m_dashOffset; qreal m_stroke_width; |