aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendUIInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/GpgFrontendUIInit.cpp')
-rw-r--r--src/ui/GpgFrontendUIInit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index b0b9c28e..b3050a63 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -270,6 +270,7 @@ void InitUITranslations() {
auto InstallTranslatorFromQMData(const QByteArray& data) -> bool {
auto* translator = new QTranslator(QCoreApplication::instance());
+
if (translator->load(reinterpret_cast<uchar*>(const_cast<char*>(data.data())),
data.size())) {
GF_UI_LOG_DEBUG("load target translation file done, locale: {}",