Use DelegateTypeRole searchmodel
Change EventTypeRole to DelegateTypeRole to match updated message event model.
This commit is contained in:
@@ -135,7 +135,7 @@ int SearchModel::rowCount(const QModelIndex &parent) const
|
||||
QHash<int, QByteArray> SearchModel::roleNames() const
|
||||
{
|
||||
return {
|
||||
{EventTypeRole, "eventType"},
|
||||
{DelegateTypeRole, "delegateType"},
|
||||
{DisplayRole, "display"},
|
||||
{AuthorRole, "author"},
|
||||
{ShowSectionRole, "showSection"},
|
||||
|
||||
Reference in New Issue
Block a user