Commit 429889a9 authored by Martin Straka's avatar Martin Straka

Fixed send log file format

parent 39c8ad56
......@@ -95,7 +95,7 @@ void Log::sendLogViaEmail(const QString &logContent)
}
QString to("datove-schranky@labs.nic.cz");
QString subject("Mobile Datovka: Log File");
QString subject("Mobile Datovka: Log file");
QString body("Mobile Datovka");
body.append("\nVersion: " + QStringLiteral(VERSION));
body.append("\nOS: " + QSysInfo::productType() + " "
......@@ -106,7 +106,7 @@ void Log::sendLogViaEmail(const QString &logContent)
QString targetPath(appEmailDirPath("Log"));
QString filePath(writeFile(targetPath, "mobile-datovka.log",
QByteArray::fromBase64(logContent.toUtf8())));
logContent.toUtf8()));
QStringList attachmentList;
attachmentList.append(filePath);
......
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