diff options
Diffstat (limited to 'src/gui/qt_translator.h')
-rw-r--r-- | src/gui/qt_translator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/qt_translator.h b/src/gui/qt_translator.h index c896d4c..8f4fd23 100644 --- a/src/gui/qt_translator.h +++ b/src/gui/qt_translator.h @@ -29,11 +29,11 @@ public: t_qt_translator(QApplication *qa) : _qa(qa) {}; virtual string translate(const string &s) { - return _qa->translate("TwinkleCore", s.c_str()).ascii(); + return _qa->translate("TwinkleCore", s.c_str()).toStdString(); }; virtual string translate2(const string &context, const string &s) { - return _qa->translate(context.c_str(), s.c_str()).ascii(); + return _qa->translate(context.c_str(), s.c_str()).toStdString(); }; private: |