diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-16 19:20:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-16 19:20:27 +0100 |
commit | f0e877684c010196487e5304941d65b43b913cc6 (patch) | |
tree | e61157a95573e3392c4c65f2a2e994de412efbb4 /gui | |
parent | 664f9c94fbb570f0b5abae1b36c5940275813096 (diff) |
gui/init: fix translations even harder
Issue: #748
Diffstat (limited to 'gui')
-rw-r--r-- | gui/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/init.cpp b/gui/init.cpp index 51ffbf3e..42c33c2f 100644 --- a/gui/init.cpp +++ b/gui/init.cpp @@ -214,7 +214,7 @@ int otr_main(int argc, char** argv, std::function<QWidget*()> make_main_window) } const bool no_i18n = group::with_global_settings_object([](QSettings& s) { - return !s.value("disable-translation", false).toBool(); + return s.value("disable-translation", false).toBool(); }); if (forced_locale || !no_i18n) |