diff options
author | Pino Toscano <pino@kde.org> | 2013-04-16 11:57:20 +0200 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2013-04-16 11:57:20 +0200 |
commit | 42370825aca564fa8a3a21b9e3ce76f90570ffbc (patch) | |
tree | 6d02b12ed08a285a2be2b443e61182f40678762a | |
parent | pass menutitle through i18n() to get it localized -.- (diff) | |
download | rekonq-42370825aca564fa8a3a21b9e3ce76f90570ffbc.tar.xz |
i18n: make sure text passed to i18n() is UTF-8
-rw-r--r-- | src/webwindow/rekonqfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webwindow/rekonqfactory.cpp b/src/webwindow/rekonqfactory.cpp index 86c60b55..75fd0baa 100644 --- a/src/webwindow/rekonqfactory.cpp +++ b/src/webwindow/rekonqfactory.cpp @@ -322,7 +322,7 @@ void RekonqFactory::fillMenu(KMenu *m, QDomNode node) if (el.tagName() == QL1S("text")) { - const QString menuTitle = i18n(qPrintable(el.text())); + const QString menuTitle = i18n(el.text().toUtf8().constData()); m->setTitle(menuTitle); } |