Browse Source

Add case insensitive message filter

basic-view
Ali Hatami Tajik 5 months ago
parent
commit
8c155e1ee6
  1. 10
      model/src/data/filter/MessageFilter.cpp

10
model/src/data/filter/MessageFilter.cpp

@ -15,7 +15,15 @@ bool MessageFilter::isAccepted(Log_ptr input) const
{
if(part.string.has_value())
{
if(part.string.value().contains(_filter))
if(part.string.value().contains(_filter, Qt::CaseInsensitive))
{
return true;
}
}
if(part.loggedObject.has_value())
{
if(part.loggedObject.value().summary.contains(_filter, Qt::CaseInsensitive))
{
return true;
}

Loading…
Cancel
Save