Commit 56fa48a4 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Set an initial value of 0 for SensorsFeatureSensor

Since libsensors only provides integer values and we always update these
anyway, just set a plain initial value of 0.
parent 42bdd1fc
Pipeline #131620 passed with stage
in 1 minute and 10 seconds
......@@ -133,7 +133,7 @@ SensorsFeatureSensor::SensorsFeatureSensor(const QString &id,
const sensors_chip_name *const chipName,
const sensors_subfeature *const valueFeature,
SensorObject *parent)
: SensorProperty(id, parent)
: SensorProperty(id, id, 0, parent)
, m_chipName(chipName)
, m_valueFeature(valueFeature)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment