diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2015-02-22 14:31:03 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2015-02-24 03:05:52 +0000 |
commit | a6a01b612fdb162378c4c184351e7cb8e5a559a0 (patch) | |
tree | 3d0111fb559ee4f4bee05318e4dac5bce6f78902 /src/plugins/sensors/sensorfw | |
parent | 4ff25ba156323d9b82e7cddf16eebcb744d0e0ca (diff) | |
download | qtsensors-a6a01b612fdb162378c4c184351e7cb8e5a559a0.tar.gz |
Make sensorfw als values the common standard for QtSensors plugins
Change-Id: I69d15c8af9b6e5acde9d86e185395590369baab6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/sensors/sensorfw')
-rw-r--r-- | src/plugins/sensors/sensorfw/sensorfwals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/sensors/sensorfw/sensorfwals.cpp b/src/plugins/sensors/sensorfw/sensorfwals.cpp index 0f1b959..5dd103b 100644 --- a/src/plugins/sensors/sensorfw/sensorfwals.cpp +++ b/src/plugins/sensors/sensorfw/sensorfwals.cpp @@ -94,11 +94,11 @@ QAmbientLightReading::LightLevel Sensorfwals::getLightLevel(int lux) return QAmbientLightReading::Undefined; } else if (lux < 10) { return QAmbientLightReading::Dark; - } else if (lux < 50) { + } else if (lux < 80) { return QAmbientLightReading::Twilight; - } else if (lux < 100) { + } else if (lux < 400) { return QAmbientLightReading::Light; - } else if (lux < 150) { + } else if (lux < 2500) { return QAmbientLightReading::Bright; } else { return QAmbientLightReading::Sunny; |