Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12 from CCPCookies/master
Messages now handled as utf8.
  • Loading branch information
filipppavlov committed Sep 17, 2020
2 parents 3abfb06 + cc27028 commit 8148456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logmodel.cpp
Expand Up @@ -322,7 +322,7 @@ void LogModel::readMessages()

if (msg.type == SIMPLE_MESSAGE || msg.type == CONTINUATION_END_MESSAGE)
{
m_nextMessage->message = QString::fromLocal8Bit(m_receivedText);
m_nextMessage->message = QString::fromUtf8(m_receivedText.constData());
m_receivedText.clear();
addMessage(m_nextMessage);
m_runningCounts[m_nextMessage->severity].add();
Expand Down

0 comments on commit 8148456

Please sign in to comment.