summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-16 19:20:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-16 19:20:27 +0100
commitf0e877684c010196487e5304941d65b43b913cc6 (patch)
treee61157a95573e3392c4c65f2a2e994de412efbb4 /gui
parent664f9c94fbb570f0b5abae1b36c5940275813096 (diff)
gui/init: fix translations even harder
Issue: #748
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp2
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)