summaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/stickman
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation/stickman')
-rw-r--r--examples/widgets/animation/stickman/animation.cpp2
-rw-r--r--examples/widgets/animation/stickman/animation.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/animation/stickman/animation.cpp b/examples/widgets/animation/stickman/animation.cpp
index 73d79adc84..77a1875be3 100644
--- a/examples/widgets/animation/stickman/animation.cpp
+++ b/examples/widgets/animation/stickman/animation.cpp
@@ -79,7 +79,7 @@ public:
}
private:
- QVector<QPointF> m_nodePositions;
+ QList<QPointF> m_nodePositions;
};
Animation::Animation() : m_currentFrame(0)
diff --git a/examples/widgets/animation/stickman/animation.h b/examples/widgets/animation/stickman/animation.h
index 5cc1133ac0..93caff48a2 100644
--- a/examples/widgets/animation/stickman/animation.h
+++ b/examples/widgets/animation/stickman/animation.h
@@ -53,7 +53,7 @@
#include <QPointF>
#include <QString>
-#include <QVector>
+#include <QList>
class Frame;
QT_BEGIN_NAMESPACE
@@ -85,7 +85,7 @@ public:
private:
QString m_name;
- QVector<Frame *> m_frames;
+ QList<Frame *> m_frames;
int m_currentFrame;
};