summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/lancelot/paintcommands.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 15:34:48 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 10:14:24 +0200
commite721ec269e972ea2754cb9bd27fb73b72ed53c7b (patch)
treeb09bb4ca8fe18d528a0a88cb310ecd1f8dc9216f /tests/auto/other/lancelot/paintcommands.h
parentb62f32a4dd87010e4c51d33ef440e2fbba531361 (diff)
Use QList instead of QVector in other tests
Task-number: QTBUG-84469 Change-Id: I656c9f73bd2364be39ee67747524e7c4a25c0935 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/other/lancelot/paintcommands.h')
-rw-r--r--tests/auto/other/lancelot/paintcommands.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/other/lancelot/paintcommands.h b/tests/auto/other/lancelot/paintcommands.h
index 6085b9c088..e9468b1f42 100644
--- a/tests/auto/other/lancelot/paintcommands.h
+++ b/tests/auto/other/lancelot/paintcommands.h
@@ -109,7 +109,11 @@ public:
void setPainter(QPainter *pt) { staticInit(); m_painter = pt; }
void setType(DeviceType t) { staticInit(); m_type = t; }
void setFilePath(const QString &path) { staticInit(); m_filepath = path; }
- void setControlPoints(const QVector<QPointF> &points) { staticInit(); m_controlPoints = points; }
+ void setControlPoints(const QList<QPointF> &points)
+ {
+ staticInit();
+ m_controlPoints = points;
+ }
void setVerboseMode(bool v) { staticInit(); m_verboseMode = v; }
void insertAt(int commandIndex, const QStringList &newCommands);
void setShouldDrawText(bool drawText) { m_shouldDrawText = drawText; }
@@ -279,7 +283,7 @@ private:
bool m_checkers_background;
bool m_shouldDrawText;
- QVector<QPointF> m_controlPoints;
+ QList<QPointF> m_controlPoints;
#ifndef QT_NO_OPENGL
QOpenGLContext *m_default_glcontext;