diff --git a/src/app/filelogger.cpp b/src/app/filelogger.cpp index 3d2b002a3..3cd5e6ac1 100644 --- a/src/app/filelogger.cpp +++ b/src/app/filelogger.cpp @@ -134,19 +134,19 @@ void FileLogger::addLogMessage(const Log::Msg &msg) switch (msg.type) { case Log::INFO: - stream << "(I) "; + stream << u"(I) "; break; case Log::WARNING: - stream << "(W) "; + stream << u"(W) "; break; case Log::CRITICAL: - stream << "(C) "; + stream << u"(C) "; break; default: - stream << "(N) "; + stream << u"(N) "; } - stream << QDateTime::fromMSecsSinceEpoch(msg.timestamp).toString(Qt::ISODate) << " - " << msg.message << '\n'; + stream << QDateTime::fromMSecsSinceEpoch(msg.timestamp).toString(Qt::ISODate) << u" - " << msg.message << u'\n'; if (m_backup && (m_logFile.size() >= m_maxSize)) {