diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-11-14 10:17:35 +0000 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-11-20 11:59:42 +0000 |
commit | ba9827ab5de200756f5c2c0899fc01f1d573eae2 (patch) | |
tree | c591d5a38559ec1e2cf0435930c4b32a79c25e14 /src/quick3d/quick3drender/items/quick3draycaster_p_p.h | |
parent | 9e2770d8995aedb07c517dd31395c8bb3a605def (diff) |
Follow up on change of QQmlListProperty to qsizetype
Also update dependencies and fix non-gui builds.
Disabled (for now) gltf unit test since JSON parser seems to crash.
Change-Id: Ie7fdd9626653e89ad43e8bdb22b0e764618b1e9e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/quick3d/quick3drender/items/quick3draycaster_p_p.h')
-rw-r--r-- | src/quick3d/quick3drender/items/quick3draycaster_p_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick3d/quick3drender/items/quick3draycaster_p_p.h b/src/quick3d/quick3drender/items/quick3draycaster_p_p.h index dec8dcfb6..096cae351 100644 --- a/src/quick3d/quick3drender/items/quick3draycaster_p_p.h +++ b/src/quick3d/quick3drender/items/quick3draycaster_p_p.h @@ -69,8 +69,8 @@ public: explicit Quick3DRayCasterPrivate() : QAbstractRayCasterPrivate() { } static void appendLayer(QQmlListProperty<QLayer> *list, QLayer *bar); - static QLayer *layerAt(QQmlListProperty<QLayer> *list, int index); - static int layerCount(QQmlListProperty<QLayer> *list); + static QLayer *layerAt(QQmlListProperty<QLayer> *list, qsizetype index); + static qsizetype layerCount(QQmlListProperty<QLayer> *list); static void clearLayers(QQmlListProperty<QLayer> *list); Q_DECLARE_PUBLIC(Quick3DRayCaster) |