aboutsummaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-29 21:54:38 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-29 21:54:38 +0100
commit84bc482c28a9198edc8a1377742b13be3a56c058 (patch)
treea84d7e9f1d8defbcf776d4e9b47fc48c5473e127 /src/config.hpp
parente8df27fe6dc76335e4a12a713b23c9bc59d6bccb (diff)
Check if flatpak gsr kms server has cap instead of config option
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/config.hpp b/src/config.hpp
index e0df909..20614aa 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -31,7 +31,6 @@ struct MainConfig {
std::string framerate_mode;
bool advanced_view = false;
bool overclock = false;
- bool password_prompt_removed = false;
};
struct StreamingConfig {
@@ -278,11 +277,6 @@ static Config read_config(bool &config_empty) {
config.main_config.overclock = true;
else if(value == "false")
config.main_config.overclock = false;
- } else if(key == "main.password_prompt_removed") {
- if(value == "true")
- config.main_config.password_prompt_removed = true;
- else if(value == "false")
- config.main_config.password_prompt_removed = false;
} else if(key == "streaming.service") {
config.streaming_config.streaming_service.assign(value.str, value.size);
} else if(key == "streaming.key") {
@@ -370,7 +364,6 @@ static void save_config(const Config &config) {
fprintf(file, "main.framerate_mode %s\n", config.main_config.framerate_mode.c_str());
fprintf(file, "main.advanced_view %s\n", config.main_config.advanced_view ? "true" : "false");
fprintf(file, "main.overclock %s\n", config.main_config.overclock ? "true" : "false");
- fprintf(file, "main.password_prompt_removed %s\n", config.main_config.password_prompt_removed ? "true" : "false");
fprintf(file, "streaming.service %s\n", config.streaming_config.streaming_service.c_str());
fprintf(file, "streaming.key %s\n", config.streaming_config.stream_key.c_str());