diff options
Diffstat (limited to 'src/render/lights/qspotlight.h')
-rw-r--r-- | src/render/lights/qspotlight.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/lights/qspotlight.h b/src/render/lights/qspotlight.h index a02809082..3d7889156 100644 --- a/src/render/lights/qspotlight.h +++ b/src/render/lights/qspotlight.h @@ -40,7 +40,7 @@ #ifndef QT3DRENDER_QSPOTLIGHT_H #define QT3DRENDER_QSPOTLIGHT_H -#include <Qt3DRender/qlight.h> +#include <Qt3DRender/qabstractlight.h> QT_BEGIN_NAMESPACE @@ -48,7 +48,7 @@ namespace Qt3DRender { class QSpotLightPrivate; -class QT3DRENDERSHARED_EXPORT QSpotLight : public QLight +class QT3DRENDERSHARED_EXPORT QSpotLight : public QAbstractLight { Q_OBJECT Q_PROPERTY(float constantAttenuation READ constantAttenuation WRITE setConstantAttenuation NOTIFY constantAttenuationChanged) |