feature add log for privacy policy changed.

This commit is contained in:
alves
2026-01-06 20:45:05 +08:00
parent 3e790b4b9e
commit 49546332c3
3 changed files with 5 additions and 3 deletions

View File

@@ -650,6 +650,7 @@ int GuideFrame::SaveProfile()
// } else
// m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", "0");
m_MainPtr->app_config->set("app", "privacy_policy_isagree", PrivacyUse);
BOOST_LOG_TRIVIAL(warning) << "SaveProfile changed the privacy policy with: " << (PrivacyUse ? "true" : "false");
set_privacy_policy(PrivacyUse);
m_MainPtr->app_config->set("region", m_Region);
m_MainPtr->app_config->set_bool("stealth_mode", StealthMode);