diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-03 14:42:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-03 14:42:33 +0200 |
commit | 9201417e9973f901a39195507cf2935a529e821e (patch) | |
tree | 8cb23efc9ec1b62cb403d738ee6d47584a142cd0 /facetracknoir/process_detector.cpp | |
parent | 6aa89934e8f22a580dc8a63cec61fb9ea9d14f23 (diff) |
fix msvc empty config list
Some MSVC 2015RC bug with static initialized const char*. But reproduced
also in #179 (?)
Diffstat (limited to 'facetracknoir/process_detector.cpp')
-rw-r--r-- | facetracknoir/process_detector.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp index 237d350d..79b5c95f 100644 --- a/facetracknoir/process_detector.cpp +++ b/facetracknoir/process_detector.cpp @@ -9,25 +9,25 @@ void settings::set_game_list(const QString &game_list) { - QSettings settings(group::org); + QSettings settings(OPENTRACK_ORG); settings.setValue("executable-list", game_list); } QString settings::get_game_list() { - QSettings settings(group::org); + QSettings settings(OPENTRACK_ORG); return settings.value("executable-list").toString(); } bool settings::is_enabled() { - QSettings settings(group::org); + QSettings settings(OPENTRACK_ORG); return settings.value("executable-detector-enabled", false).toBool(); } void settings::set_is_enabled(bool enabled) { - QSettings settings(group::org); + QSettings settings(OPENTRACK_ORG); settings.setValue("executable-detector-enabled", enabled); } |