summaryrefslogtreecommitdiffstats
path: root/examples/opengl/qopenglwidget/glwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/qopenglwidget/glwidget.h')
-rw-r--r--examples/opengl/qopenglwidget/glwidget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/opengl/qopenglwidget/glwidget.h b/examples/opengl/qopenglwidget/glwidget.h
index 99288261c0..50f8aa9be5 100644
--- a/examples/opengl/qopenglwidget/glwidget.h
+++ b/examples/opengl/qopenglwidget/glwidget.h
@@ -57,7 +57,7 @@
#include <QVector3D>
#include <QMatrix4x4>
#include <QElapsedTimer>
-#include <QVector>
+#include <QList>
#include <QPushButton>
class Bubble;
@@ -101,10 +101,10 @@ private:
qreal m_fAngle = 0;
qreal m_fScale = 1;
bool m_showBubbles = true;
- QVector<QVector3D> m_vertices;
- QVector<QVector3D> m_normals;
+ QList<QVector3D> m_vertices;
+ QList<QVector3D> m_normals;
bool m_qtLogo = true;
- QVector<Bubble *> m_bubbles;
+ QList<Bubble *> m_bubbles;
int m_frames = 0;
QElapsedTimer m_time;
QOpenGLShader *m_vshader1 = nullptr;