Add m_customTickRateMs to new settings API

The value is verified before saving and loading. It is the
responsibility of the function calling the settings API to verify data.
This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent 87bf59fd31
commit 31982c54bf
4 changed files with 27 additions and 47 deletions
+4
View File
@@ -380,6 +380,10 @@ private:
SettingCategory::Application,
QtInfo{ "debugState" },
0 },
IntSettingValue{ IntSetting::APPLICATION_customTickRateMs,
SettingCategory::Application,
QtInfo{ "customTickRateMs" },
20 },
IntSettingValue{ IntSetting::UTILITY_alarmHour,
SettingCategory::Utility,