summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qentity_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nodes/qentity_p.h')
-rw-r--r--src/core/nodes/qentity_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nodes/qentity_p.h b/src/core/nodes/qentity_p.h
index a899fb154..32fd36fa7 100644
--- a/src/core/nodes/qentity_p.h
+++ b/src/core/nodes/qentity_p.h
@@ -74,9 +74,9 @@ public :
void updateComponentRelationShip(QComponent *component, ComponentRelationshipChange::RelationShip change);
template<class T>
- QVector<T*> componentsOfType() const
+ QList<T*> componentsOfType() const
{
- QVector<T*> typedComponents;
+ QList<T*> typedComponents;
for (QComponent *comp : m_components) {
T *typedComponent = qobject_cast<T*>(comp);
if (typedComponent != nullptr)