summaryrefslogtreecommitdiffstats
path: root/tests/auto/animation/skeleton/tst_skeleton.cpp
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-11-20 16:47:37 +0000
committerMike Krus <mike.krus@kdab.com>2021-01-05 13:57:54 +0000
commit173be1a93699c54d9680d809ca5a56ce0ccccd9a (patch)
treebf773d21f61edbc522e8b4128d40f2cb5458a0c2 /tests/auto/animation/skeleton/tst_skeleton.cpp
parent45dfb8a03f4ee2abb963ce3726eaef0dd1c2c521 (diff)
Restore use of QVector in private API
Facilitates building against Qt 5.15. Will migrate to std::vector over time. Change-Id: I5db14c9ea95b38e4b2d596d7397fef76f6baf118 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/animation/skeleton/tst_skeleton.cpp')
-rw-r--r--tests/auto/animation/skeleton/tst_skeleton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/animation/skeleton/tst_skeleton.cpp b/tests/auto/animation/skeleton/tst_skeleton.cpp
index a17bfcab5..24883e343 100644
--- a/tests/auto/animation/skeleton/tst_skeleton.cpp
+++ b/tests/auto/animation/skeleton/tst_skeleton.cpp
@@ -75,7 +75,7 @@ private Q_SLOTS:
{
// GIVEN
Skeleton backendSkeleton;
- const QList<QString> jointNames = { QLatin1String("rootJoint"),
+ const QVector<QString> jointNames = { QLatin1String("rootJoint"),
QLatin1String("child1Joint"),
QLatin1String("child2Joint") };
@@ -103,10 +103,10 @@ private Q_SLOTS:
QCOMPARE(backendSkeleton.jointLocalPoses().size(), 0);
// GIVEN
- const QList<QString> names = { QLatin1String("root"),
- QLatin1String("child1"),
- QLatin1String("child2") };
- const QList<Sqt> localPoses = { Sqt(), Sqt(), Sqt() };
+ const QVector<QString> names = { QLatin1String("root"),
+ QLatin1String("child1"),
+ QLatin1String("child2") };
+ const QVector<Sqt> localPoses = { Sqt(), Sqt(), Sqt() };
// WHEN
backendSkeleton.setJointNames(names);