diff options
Diffstat (limited to 'gettextfromc.cpp')
-rw-r--r-- | gettextfromc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gettextfromc.cpp b/gettextfromc.cpp index 1730b52b0..c3b822ff5 100644 --- a/gettextfromc.cpp +++ b/gettextfromc.cpp @@ -4,7 +4,7 @@ const char *gettextFromC::trGettext(const char *text) { - QByteArray &result = translationCache[text]; + QByteArray &result = translationCache[QByteArray(text)]; if (result.isEmpty()) result = tr(text).toUtf8(); return result.constData(); |