Automatically recover from corrupted config file

This commit is contained in:
SoftFever 2023-11-09 22:09:41 +08:00
parent df0a49a73d
commit 22abe8cc9d
2 changed files with 13 additions and 5 deletions

View file

@ -656,6 +656,7 @@ private:
bool m_datadir_redefined { false };
std::string m_older_data_dir_path;
boost::optional<Semver> m_last_config_version;
bool m_config_corrupted { false };
};
DECLARE_APP(GUI_App)