mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
use for loop rather than iterator
This commit is contained in:
parent
6088612ce0
commit
95f446183f
1 changed files with 1 additions and 3 deletions
|
@ -1032,9 +1032,7 @@ void EntityTree::fixupMissingParents() {
|
|||
}
|
||||
}
|
||||
|
||||
QListIterator<EntityItemPointer> iter(missingParents);
|
||||
while (iter.hasNext()) {
|
||||
EntityItemPointer entity = iter.next();
|
||||
for (EntityItemPointer entity : missingParents) {
|
||||
if (entity) {
|
||||
bool queryAACubeSuccess;
|
||||
AACube newCube = entity->getQueryAACube(queryAACubeSuccess);
|
||||
|
|
Loading…
Reference in a new issue