aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/shared/logorenderer.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:12:52 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 07:54:07 +0200
commitdd71c43b9718be3523ed6b307a3402f88de070e1 (patch)
tree16d98b58843a729ad9153142121a5371ff305af5 /examples/quick/scenegraph/shared/logorenderer.h
parent10669911b7beac620989d69653334fb6ee477744 (diff)
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: I4c3353c00a566023503fbc178ba8454391dc334c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/shared/logorenderer.h')
-rw-r--r--examples/quick/scenegraph/shared/logorenderer.h6
1 files changed, 3 insertions, 3 deletions
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 <qopenglfunctions.h>
#include <QTime>
-#include <QVector>
+#include <QList>
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<QVector3D> vertices;
- QVector<QVector3D> normals;
+ QList<QVector3D> vertices;
+ QList<QVector3D> normals;
QOpenGLShaderProgram program1;
int vertexAttr1;
int normalAttr1;