diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-08 17:48:27 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-08 17:50:03 (GMT) |
commit | 52d662ac5390dbf269eb69ec039d2264925fa04b (patch) | |
tree | fe8803ac0e94afaf68f963a26fad9fcb8559e11e /Swift/QtUI | |
parent | 708e274fa379015ec34d0186187c07a37eebb3da (diff) | |
download | swift-contrib-52d662ac5390dbf269eb69ec039d2264925fa04b.zip swift-contrib-52d662ac5390dbf269eb69ec039d2264925fa04b.tar.bz2 |
Use UTF-8 encoding for COPYING file in About dialog.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtAboutWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtAboutWidget.cpp b/Swift/QtUI/QtAboutWidget.cpp index e8b0baf..38a4a8c 100644 --- a/Swift/QtUI/QtAboutWidget.cpp +++ b/Swift/QtUI/QtAboutWidget.cpp @@ -59,7 +59,7 @@ void QtAboutWidget::handleLicenseClicked() { QFile file(":/COPYING"); file.open(QIODevice::ReadOnly); QTextStream in(&file); - in.setAutoDetectUnicode(true); + in.setCodec("UTF-8"); text->setPlainText(in.readAll()); file.close(); text->resize(500, 600); |