Commit 87069a6d authored by Boudewijn Rempt's avatar Boudewijn Rempt

Make the usage logger write messages in Text mode

parent 639e0d2d
......@@ -46,7 +46,7 @@ KisUsageLogger::KisUsageLogger()
d->logFile.setFileName(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/krita.log");
rotateLog();
d->logFile.open(QFile::Append);
d->logFile.open(QFile::Append | QFile::Text);
}
KisUsageLogger::~KisUsageLogger()
......
......@@ -90,7 +90,7 @@ DlgBugInfo::DlgBugInfo(QWidget *parent)
}
else {
QFile f(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/krita.log");
f.open(QFile::ReadOnly);
f.open(QFile::ReadOnly | QFile::Text);
info = QString::fromUtf8(f.readAll());
f.close();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment