summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3d/items
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-02-22 19:57:23 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-02-22 21:17:50 +0000
commit799bd03f73815a67ab6c394ff49e523731fe2c86 (patch)
tree8f863a9807a2fd793d864b671dbc9d8b0fd5ffd7 /src/quick3d/quick3d/items
parent672d101cf445bc90fc565c10d469f288e543ad00 (diff)
QComponentList -> QComponentVector
Change-Id: Ic4f60f7d035c561d68ea806c72607028c9e12160 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/quick3d/quick3d/items')
-rw-r--r--src/quick3d/quick3d/items/quick3dentity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick3d/quick3d/items/quick3dentity.cpp b/src/quick3d/quick3d/items/quick3dentity.cpp
index d4d783fe1..8f027e213 100644
--- a/src/quick3d/quick3d/items/quick3dentity.cpp
+++ b/src/quick3d/quick3d/items/quick3dentity.cpp
@@ -93,7 +93,7 @@ int Quick3DEntity::qmlComponentsCount(QQmlListProperty<QComponent> *list)
void Quick3DEntity::qmlClearComponents(QQmlListProperty<QComponent> *list)
{
Quick3DEntity *self = static_cast<Quick3DEntity *>(list->object);
- QComponentList components = self->parentEntity()->components();
+ QComponentVector components = self->parentEntity()->components();
Q_FOREACH (QComponent *comp, components) {
self->parentEntity()->removeComponent(comp);
}