summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gettextfromc.cpp2
-rw-r--r--gettextfromc.h2
2 files changed, 2 insertions, 2 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();
}
diff --git a/gettextfromc.h b/gettextfromc.h
index 6b5f7b184..c84d65f33 100644
--- a/gettextfromc.h
+++ b/gettextfromc.h
@@ -12,7 +12,7 @@ public:
static gettextFromC *instance();
const char *trGettext(const char *text);
void reset(void);
- QHash <QByteArray , QByteArray> translationCache;
+ QHash <QByteArray, QByteArray> translationCache;
};
#endif // GETTEXTFROMC_H