diff options
Diffstat (limited to 'Swift')
-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); |