summaryrefslogtreecommitdiffstats
path: root/gettextfromc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gettextfromc.cpp')
-rw-r--r--gettextfromc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettextfromc.cpp b/gettextfromc.cpp
index c3b822ff5..fc11847fa 100644
--- a/gettextfromc.cpp
+++ b/gettextfromc.cpp
@@ -6,7 +6,7 @@ const char *gettextFromC::trGettext(const char *text)
{
QByteArray &result = translationCache[QByteArray(text)];
if (result.isEmpty())
- result = tr(text).toUtf8();
+ result = trUtf8(text).toUtf8();
return result.constData();
}