summaryrefslogtreecommitdiffstats
path: root/src/sensors/qlightsensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors/qlightsensor.h')
-rw-r--r--src/sensors/qlightsensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/qlightsensor.h b/src/sensors/qlightsensor.h
index 9d30af6c..0b16b46f 100644
--- a/src/sensors/qlightsensor.h
+++ b/src/sensors/qlightsensor.h
@@ -71,7 +71,7 @@ class Q_SENSORS_EXPORT QLightSensor : public QSensor
Q_OBJECT
Q_PROPERTY(qreal fieldOfView READ fieldOfView NOTIFY fieldOfViewChanged)
public:
- explicit QLightSensor(QObject *parent = 0);
+ explicit QLightSensor(QObject *parent = Q_NULLPTR);
virtual ~QLightSensor();
QLightReading *reading() const;
static char const * const type;