diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 17:25:35 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 21:27:35 +0200 | 
| commit | c80dd2e156e20f028cf4631fd7874a89c3568bab (patch) | |
| tree | b15b61ad444aeaab61ea04e549ee24e98ab6415a /logic | |
| parent | 526304a41970c1ad890cf81d92bb4b123e8608e7 (diff) | |
settings: store untranslated chosen module names
Now that we translate module names, they have to be
stored as language-neutral in the config.
- add tie_setting overload with from/to conversions
- add logic to opentrack/main-window
- add migration
- remove actually useless tie_setting_traits
Diffstat (limited to 'logic')
| -rw-r--r-- | logic/main-settings.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/logic/main-settings.cpp b/logic/main-settings.cpp index c735ac6e..53a5054c 100644 --- a/logic/main-settings.cpp +++ b/logic/main-settings.cpp @@ -49,9 +49,9 @@ main_settings::main_settings() :  module_settings::module_settings() :      b(make_bundle("modules")), -    tracker_dll(b, "tracker-dll", "PointTracker 1.1"), -    filter_dll(b, "filter-dll", "Accela"), -    protocol_dll(b, "protocol-dll", "freetrack 2.0 Enhanced") +    tracker_dll(b, "tracker-dll", "pt"), +    filter_dll(b, "filter-dll", "accela"), +    protocol_dll(b, "protocol-dll", "freetrack")  {  } @@ -60,3 +60,4 @@ key_opts::key_opts(bundle b, const QString& name) :      guid(b, QString("guid-%1").arg(name), ""),      button(b, QString("button-%1").arg(name), -1)  {} + | 
