diff options
Diffstat (limited to 'tests/auto/core/qentity/tst_qentity.cpp')
-rw-r--r-- | tests/auto/core/qentity/tst_qentity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/core/qentity/tst_qentity.cpp b/tests/auto/core/qentity/tst_qentity.cpp index 4b32c5aac..32880f1a9 100644 --- a/tests/auto/core/qentity/tst_qentity.cpp +++ b/tests/auto/core/qentity/tst_qentity.cpp @@ -522,8 +522,8 @@ void tst_Entity::retrieveSingleComponent() entity1->addComponent(comp2); // WHEN - QVector<MyQComponent*> myQComponentsInEntity = entity1->componentsOfType<MyQComponent>(); - QVector<MyQ2Component*> myQ2ComponentsInEntity = entity1->componentsOfType<MyQ2Component>(); + const QList<MyQComponent *> myQComponentsInEntity = entity1->componentsOfType<MyQComponent>(); + const QList<MyQ2Component *> myQ2ComponentsInEntity = entity1->componentsOfType<MyQ2Component>(); // THEN QVERIFY(myQComponentsInEntity.size() == 2); |