diff --git a/rbutil/rbutilqt/changelog.txt b/rbutil/rbutilqt/changelog.txt index 94082d2212..756cc3dcee 100644 --- a/rbutil/rbutilqt/changelog.txt +++ b/rbutil/rbutilqt/changelog.txt @@ -16,5 +16,6 @@ Version 1.4 * Add support for Creative Zen X-Fi3 (G#419). * Add Changelog window. * Rework System Trace functionality. +* Add support for H300 v1.31K firmware. diff --git a/rbutil/rbutilqt/gui/changelog.cpp b/rbutil/rbutilqt/gui/changelog.cpp index 4ef1ae9266..1de272315d 100644 --- a/rbutil/rbutilqt/gui/changelog.cpp +++ b/rbutil/rbutilqt/gui/changelog.cpp @@ -24,6 +24,7 @@ Changelog::Changelog(QWidget *parent) : QDialog(parent) { ui.setupUi(this); ui.browserChangelog->setOpenExternalLinks(true); + // FIXME: support translated changelog file (changelog.de.txt etc) ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt")); ui.browserChangelog->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor); ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool()); @@ -44,6 +45,7 @@ QString Changelog::parseChangelogFile(QString filename) QFile changelog(filename); changelog.open(QIODevice::ReadOnly); QTextStream c(&changelog); + c.setCodec(QTextCodec::codecForName("UTF-8")); QString text; while(!c.atEnd()) { QString line = c.readLine();