From 6e86249bd8cc6d707756ef79ac9d02c429a2db06 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Jul 2019 10:20:26 +0200 Subject: options: fix global ini not saving on Linux --- gui/process_detector.cpp | 2 ++ gui/settings.cpp | 1 + 2 files changed, 3 insertions(+) (limited to 'gui') diff --git a/gui/process_detector.cpp b/gui/process_detector.cpp index b17d5dd0..85333849 100644 --- a/gui/process_detector.cpp +++ b/gui/process_detector.cpp @@ -30,6 +30,7 @@ void proc_detector_settings::set_game_list(const QString &game_list) { with_global_settings_object([&](QSettings& settings) { settings.setValue("executable-list", game_list); + mark_global_ini_modified(); }); } @@ -51,6 +52,7 @@ void proc_detector_settings::set_is_enabled(bool enabled) { with_global_settings_object([&](QSettings& settings) { settings.setValue("executable-detector-enabled", enabled); + mark_global_ini_modified(); }); } diff --git a/gui/settings.cpp b/gui/settings.cpp index 79a8dbfb..230c4410 100644 --- a/gui/settings.cpp +++ b/gui/settings.cpp @@ -42,6 +42,7 @@ void options_dialog::set_disable_translation_state(bool value) with_global_settings_object([&](QSettings& s) { s.setValue("disable-translation", value); + mark_global_ini_modified(); }); } -- cgit v1.2.3