You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
443 B
16 lines
443 B
#include "viewmodel/displayString/SimpleMessageDisplay.h"
|
|
|
|
#include "viewmodel/displayString/util/MessageSummaryGenerator.h"
|
|
|
|
/*************************************************************************************************/
|
|
QString SimpleMessageDisplay::provideString(const Log_ptr& log) const
|
|
{
|
|
QString msg;
|
|
|
|
if(log->msg.has_value())
|
|
{
|
|
return MessageSummaryGenerator::generate(log->msg.value());
|
|
}
|
|
|
|
return "";
|
|
}
|
|
|