OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8162499
)
bind domain to UTF-8 codeset from QTranslator::load()
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 30 Nov 2020 02:10:01 +0000
(
02:10
+0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 30 Nov 2020 02:10:01 +0000
(
02:10
+0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/kernel/qtranslator.cpp
patch
|
blob
|
history
diff --git
a/src/core/kernel/qtranslator.cpp
b/src/core/kernel/qtranslator.cpp
index
4c2066d
..
88409fb
100644
(file)
--- a/
src/core/kernel/qtranslator.cpp
+++ b/
src/core/kernel/qtranslator.cpp
@@
-156,6
+156,7
@@
bool QTranslator::load(const QString &domain)
}
Q_D(QTranslator);
d->domain = domain.toLatin1();
+ bind_textdomain_codeset(d->domain.constData(), "UTF-8");
return true;
}