diff options
Diffstat (limited to 'daemon/sensorPlugins/stepCounter.h')
-rw-r--r-- | daemon/sensorPlugins/stepCounter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/sensorPlugins/stepCounter.h b/daemon/sensorPlugins/stepCounter.h index cb6a7e4..ad8d8d6 100644 --- a/daemon/sensorPlugins/stepCounter.h +++ b/daemon/sensorPlugins/stepCounter.h @@ -35,7 +35,7 @@ private: int interval; QTimer *recordIntervalTimer; QStepCounterSensor *stepcounterSensor; - int m_stepsOffset; + int m_stepsOffset = 0; QSettings *m_settings; const QString sensorPathPrefix = "stepCounter"; |