Threaded reader must not override severity of validation message

This commit is contained in:
Klaus Basan
2018-06-08 21:40:32 +02:00
parent 3f67900b65
commit 0143eaaae2

View File

@@ -200,7 +200,6 @@ namespace BlackCore
if (msg.isEmpty()) { return; } if (msg.isEmpty()) { return; }
CStatusMessage logMsg(msg); CStatusMessage logMsg(msg);
logMsg.addCategory(CLogCategory::dataInconsistency()); logMsg.addCategory(CLogCategory::dataInconsistency());
logMsg.setSeverity(CStatusMessage::SeverityWarning);
if (funcInfo) if (funcInfo)
{ {
const QByteArray m(logMsg.getMessage().toLatin1()); const QByteArray m(logMsg.getMessage().toLatin1());