diff options
author | Robert Brock <robert.brock@kdab.com> | 2016-04-18 15:58:36 +0100 |
---|---|---|
committer | Robert Brock <robert.brock@kdab.com> | 2016-04-20 09:03:47 +0000 |
commit | b53bfd3bdd1241d2465f0da9e495b509ec11dd39 (patch) | |
tree | c2cb225336e7c81c712fc96501bac93d1dd82afd /examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp | |
parent | a01479994e17319c9db2a4ce4a2bf7fe02dc7a4a (diff) |
QVectorize PointLightBlock
Replaced QList with QVector
Change-Id: Iea1d5b1d755f79d9f26a3e0c8c0d3d46b0a5dd32
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp')
-rw-r--r-- | examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp b/examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp index 4c337f6f3..ca00a5108 100644 --- a/examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp +++ b/examples/qt3d/deferred-renderer-cpp/pointlightblock.cpp @@ -60,7 +60,7 @@ PointLightBlock::~PointLightBlock() { } -QList<Qt3DRender::QShaderData *> PointLightBlock::lights() const +QVector<Qt3DRender::QShaderData *> PointLightBlock::lights() const { return m_lights; } |