Mercurial > hg > svapp
changeset 440:2185d52b4758 tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 23 Mar 2015 10:04:57 +0000 |
parents | 8d2112977aa0 (current diff) 9876a1db566c (diff) |
children | aa6fb3516e28 |
files | |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Tue Nov 11 16:34:22 2014 +0000 +++ b/framework/MainWindowBase.cpp Mon Mar 23 10:04:57 2015 +0000 @@ -90,6 +90,7 @@ #include <QFileInfo> #include <QDir> #include <QTextStream> +#include <QTextCodec> #include <QProcess> #include <QShortcut> #include <QSettings> @@ -2235,6 +2236,7 @@ QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); QTextStream out(&bzFile); + out.setCodec(QTextCodec::codecForName("UTF-8")); toXml(out, false); out.flush(); @@ -2280,6 +2282,7 @@ QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); QTextStream out(&file); + out.setCodec(QTextCodec::codecForName("UTF-8")); toXml(out, true); out.flush();