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.
17 lines
443 B
17 lines
443 B
6 months ago
|
#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 "";
|
||
|
}
|