summaryrefslogtreecommitdiffstats
path: root/src/sensors/qambientlightsensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensors/qambientlightsensor.cpp')
-rw-r--r--src/sensors/qambientlightsensor.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/sensors/qambientlightsensor.cpp b/src/sensors/qambientlightsensor.cpp
index ecd73689..8da2e6fa 100644
--- a/src/sensors/qambientlightsensor.cpp
+++ b/src/sensors/qambientlightsensor.cpp
@@ -145,16 +145,19 @@ char const * const QAmbientLightSensor::type("QAmbientLightSensor");
*/
/*!
- \fn QAmbientLightSensor::QAmbientLightSensor(QObject *parent)
-
Construct the sensor as a child of \a parent.
*/
+QAmbientLightSensor::QAmbientLightSensor(QObject *parent)
+ : QSensor(QAmbientLightSensor::type, parent)
+{
+}
/*!
- \fn QAmbientLightSensor::~QAmbientLightSensor()
-
Destroy the sensor. Stops the sensor if it has not already been stopped.
*/
+QAmbientLightSensor::~QAmbientLightSensor()
+{
+}
/*!
\fn QAmbientLightSensor::reading() const