changed latin encoding to utf8 for #176

This commit is contained in:
itsmattkc
2018-12-21 00:17:12 +11:00
parent 9797a3bf4b
commit ef3ff6f0c4
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ void setup_debug() {
debug_file.setFileName(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/debug_log");
if (debug_file.open(QFile::WriteOnly)) {
QString debug_intro = "Olive Session " + QString::number(QDateTime::currentMSecsSinceEpoch());
debug_file.write(debug_intro.toLatin1());
debug_file.write(debug_intro.toUtf8());
} else {
debug_out = QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC).debug();
}