From a9bc708c7eeeada4c59952ce71aa071175f8f27d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 17 Nov 2023 10:11:41 -0500 Subject: Added hybrid areas and settings dialog --- src/tracker_config.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tracker_config.cpp') diff --git a/src/tracker_config.cpp b/src/tracker_config.cpp index c09d241..9318091 100644 --- a/src/tracker_config.cpp +++ b/src/tracker_config.cpp @@ -14,6 +14,7 @@ void TrackerConfig::Load() { ap_password = file["ap_password"].as(); asked_to_check_for_updates = file["asked_to_check_for_updates"].as(); should_check_for_updates = file["should_check_for_updates"].as(); + hybrid_areas = file["hybrid_areas"].as(); } catch (const std::exception&) { // It's fine if the file can't be loaded. } @@ -26,6 +27,7 @@ void TrackerConfig::Save() { output["ap_password"] = ap_password; output["asked_to_check_for_updates"] = asked_to_check_for_updates; output["should_check_for_updates"] = should_check_for_updates; + output["hybrid_areas"] = hybrid_areas; std::ofstream filewriter(CONFIG_FILE_NAME); filewriter << output; -- cgit 1.4.1