summaryrefslogtreecommitdiffhomepage
path: root/gui/process_detector.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-05 10:20:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-05 10:24:19 +0200
commit6e86249bd8cc6d707756ef79ac9d02c429a2db06 (patch)
tree04e73d5c9506747dee6156abddf83c245d9a35a6 /gui/process_detector.cpp
parentefe55a71f80c9abdf9087620b6d195b85870e92c (diff)
options: fix global ini not saving on Linux
Diffstat (limited to 'gui/process_detector.cpp')
-rw-r--r--gui/process_detector.cpp2
1 files changed, 2 insertions, 0 deletions
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();
});
}