From dd71c43b9718be3523ed6b307a3402f88de070e1 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 22 Jun 2020 12:12:52 +0200 Subject: Use QList instead of QVector Task-number: QTBUG-84469 Change-Id: I4c3353c00a566023503fbc178ba8454391dc334c Reviewed-by: Ulf Hermann --- examples/quick/quickwidgets/qquickviewcomparison/logo.h | 4 ++-- examples/quick/scenegraph/shared/logorenderer.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/quick') diff --git a/examples/quick/quickwidgets/qquickviewcomparison/logo.h b/examples/quick/quickwidgets/qquickviewcomparison/logo.h index 6cb35a28c4..7e58bbb7b7 100644 --- a/examples/quick/quickwidgets/qquickviewcomparison/logo.h +++ b/examples/quick/quickwidgets/qquickviewcomparison/logo.h @@ -52,7 +52,7 @@ #define LOGO_H #include -#include +#include #include class Logo @@ -68,7 +68,7 @@ private: void extrude(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); void add(const QVector3D &v, const QVector3D &n); - QVector m_data; + QList m_data; int m_count; }; diff --git a/examples/quick/scenegraph/shared/logorenderer.h b/examples/quick/scenegraph/shared/logorenderer.h index 03821919a9..e39a2db57d 100644 --- a/examples/quick/scenegraph/shared/logorenderer.h +++ b/examples/quick/scenegraph/shared/logorenderer.h @@ -57,7 +57,7 @@ #include #include -#include +#include class LogoRenderer : protected QOpenGLFunctions { @@ -78,8 +78,8 @@ private: void quad(qreal x1, qreal y1, qreal x2, qreal y2, qreal x3, qreal y3, qreal x4, qreal y4); void extrude(qreal x1, qreal y1, qreal x2, qreal y2); - QVector vertices; - QVector normals; + QList vertices; + QList normals; QOpenGLShaderProgram program1; int vertexAttr1; int normalAttr1; -- cgit v1.2.3