diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-31 22:20:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-31 22:20:54 +0300 |
commit | 8c11a0235e6ed4e3ed6370014cff3cd0322ed6c5 (patch) | |
tree | c800007dc9b9904b3b235c4663abda8b14c8e94c /src/gui/widgets/tabs | |
parent | 06720edd93b51a84650e2d385a24043cc4fb932e (diff) | |
download | manaverse-8c11a0235e6ed4e3ed6370014cff3cd0322ed6c5.tar.gz manaverse-8c11a0235e6ed4e3ed6370014cff3cd0322ed6c5.tar.bz2 manaverse-8c11a0235e6ed4e3ed6370014cff3cd0322ed6c5.tar.xz manaverse-8c11a0235e6ed4e3ed6370014cff3cd0322ed6c5.zip |
Add strong typed bool enum usebase64.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_chat.cpp | 6 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_other.cpp | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_chat.cpp b/src/gui/widgets/tabs/setup_chat.cpp index c82bc64d9..ce14d3ceb 100644 --- a/src/gui/widgets/tabs/setup_chat.cpp +++ b/src/gui/widgets/tabs/setup_chat.cpp @@ -213,7 +213,8 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : new SetupItemCheckBox(_("Enable language tab"), _("If this feature enabled, language tab will appear if server " "supports this feature.\n\nNote: only supported by Evol server yet."), - "enableLangTab", this, "enableLangTabEvent", false); + "enableLangTab", this, "enableLangTabEvent", + MainConfig_false); // TRANSLATORS: settings option new SetupItemCheckBox(_("Show all languages messages"), @@ -221,7 +222,8 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : "for different languages, you will see messages for all languages, " "regardless of your language preferences.\n\nNote: it only works " "on servers supporting language tabs feature, like Evol."), - "showAllLang", this, "showAllLangEvent", false); + "showAllLang", this, "showAllLangEvent", + MainConfig_false); // TRANSLATORS: settings option new SetupItemCheckBox(_("Enable battle tab"), diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp index 4a1fc1302..8a8705b38 100644 --- a/src/gui/widgets/tabs/setup_other.cpp +++ b/src/gui/widgets/tabs/setup_other.cpp @@ -410,7 +410,7 @@ Setup_Other::Setup_Other(const Widget2 *const widget) : new SetupItemTextField(_("Screenshot directory"), "", "screenshotDirectory3", this, "screenshotDirectory3Event", MainConfig_true, - true); + UseBase64_true); #endif // TRANSLATORS: settings option |