diff options
author | Andy Shaw <andy.shaw@qt.io> | 2020-09-16 12:30:30 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-09-17 08:15:48 +0000 |
commit | 9a653be77429cc85e7a1481f0925b59bc4b7e4d6 (patch) | |
tree | 8740fe5c242a5555cc88b1f1727ac5bc8c176291 /src | |
parent | 8470b781f0c814435242f603ffe3394014b6bbcc (diff) |
Remove the unneeded QScene2D qualifier for the renderPolicy property
By removing it, it will ensure that it is able to read it correctly
when used in QML, so doing Scene2D.SingleShot will be picked up as
a valid value.
Change-Id: Ibddf2d73ba19ce34ea252794ebd9a0937a6d2d20
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
(cherry picked from commit d8c81e191c13cc44dc444f41b412cdeb82675122)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick3d/quick3dscene2d/items/qscene2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick3d/quick3dscene2d/items/qscene2d.h b/src/quick3d/quick3dscene2d/items/qscene2d.h index 38eaf7359..88dee84ba 100644 --- a/src/quick3d/quick3dscene2d/items/qscene2d.h +++ b/src/quick3d/quick3dscene2d/items/qscene2d.h @@ -60,7 +60,7 @@ class Q_3DQUICKSCENE2DSHARED_EXPORT QScene2D : public Qt3DCore::QNode Q_OBJECT Q_PROPERTY(Qt3DRender::QRenderTargetOutput *output READ output WRITE setOutput NOTIFY outputChanged) - Q_PROPERTY(QScene2D::RenderPolicy renderPolicy READ renderPolicy WRITE setRenderPolicy NOTIFY renderPolicyChanged) + Q_PROPERTY(RenderPolicy renderPolicy READ renderPolicy WRITE setRenderPolicy NOTIFY renderPolicyChanged) Q_PROPERTY(QQuickItem *item READ item WRITE setItem NOTIFY itemChanged) Q_PROPERTY(bool mouseEnabled READ isMouseEnabled WRITE setMouseEnabled NOTIFY mouseEnabledChanged) |