diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-05-16 09:20:43 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-05-22 16:13:12 +0200 |
commit | 0570d73b615983b861eedcfced755d20114d1bc0 (patch) | |
tree | e1829639f11efa8cb092bb2d5df645bf11e662e5 /src/plugins/sceneparsers | |
parent | c5395497a72805bd4dd9f092f52cc9bfebeb922b (diff) |
Eradicate Q_FOREACH loops and mark the module clean
The only noteworth change is where a loop around spy.events modified
the container using takeFirst(). There was no reason to do so, so it
was changed to use the loop variable instead of the result of taking.
Change-Id: I02c62a7c2efc5d042c6e669fe5daddd7da7e85d2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/sceneparsers')
-rw-r--r-- | src/plugins/sceneparsers/assimp/assimp.pro | 3 | ||||
-rw-r--r-- | src/plugins/sceneparsers/gltf/gltf.pro | 3 | ||||
-rw-r--r-- | src/plugins/sceneparsers/gltfexport/gltfexport.pro | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/sceneparsers/assimp/assimp.pro b/src/plugins/sceneparsers/assimp/assimp.pro index 28abef2b8..f761db12e 100644 --- a/src/plugins/sceneparsers/assimp/assimp.pro +++ b/src/plugins/sceneparsers/assimp/assimp.pro @@ -3,9 +3,6 @@ QT += core-private 3dcore 3dcore-private 3drender 3drender-private 3dextras 3dan include(../../../3rdparty/assimp/assimp_dependency.pri) -# Qt3D is free of Q_FOREACH - make sure it stays that way: -DEFINES += QT_NO_FOREACH - HEADERS += \ assimphelpers.h \ assimpimporter.h diff --git a/src/plugins/sceneparsers/gltf/gltf.pro b/src/plugins/sceneparsers/gltf/gltf.pro index 0005bb727..8f0cc2fe0 100644 --- a/src/plugins/sceneparsers/gltf/gltf.pro +++ b/src/plugins/sceneparsers/gltf/gltf.pro @@ -1,9 +1,6 @@ TARGET = gltfsceneimport QT += core-private 3dcore 3dcore-private 3drender 3drender-private 3dextras -# Qt3D is free of Q_FOREACH - make sure it stays that way: -DEFINES += QT_NO_FOREACH - HEADERS += \ gltfimporter.h diff --git a/src/plugins/sceneparsers/gltfexport/gltfexport.pro b/src/plugins/sceneparsers/gltfexport/gltfexport.pro index 9d9791732..9da330605 100644 --- a/src/plugins/sceneparsers/gltfexport/gltfexport.pro +++ b/src/plugins/sceneparsers/gltfexport/gltfexport.pro @@ -1,9 +1,6 @@ TARGET = gltfsceneexport QT += core-private 3dcore 3dcore-private 3drender 3drender-private 3dextras -# Qt3D is free of Q_FOREACH - make sure it stays that way: -DEFINES += QT_NO_FOREACH - HEADERS += \ gltfexporter.h |