Rework time service to fix time passing offline.

This commit is contained in:
Kelebek1 2023-10-29 13:50:55 +00:00
parent e0763174c6
commit 52c35521bd
144 changed files with 8734 additions and 3972 deletions

View file

@ -43,6 +43,8 @@ private:
void Setup(const ConfigurationShared::Builder& builder);
void UpdateRtcTime();
std::vector<std::function<void(bool)>> apply_funcs{};
std::unique_ptr<Ui::ConfigureSystem> ui;
@ -52,4 +54,8 @@ private:
QComboBox* combo_region;
QComboBox* combo_language;
QCheckBox* checkbox_rtc;
QDateTimeEdit* date_rtc;
QSpinBox* date_rtc_offset;
u64 previous_time;
};