Document messageeventmodel

Document the API and cleanup some unused roles.
This commit is contained in:
James Graham
2023-04-09 14:02:30 +00:00
parent b4090d9671
commit 7bb7dd7bbb
8 changed files with 160 additions and 107 deletions

View File

@@ -41,7 +41,7 @@ bool MessageFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sour
return false;
}
const auto eventType = index.data(MessageEventModel::EventTypeRole).toInt();
const auto eventType = index.data(MessageEventModel::DelegateTypeRole).toInt();
if (eventType == MessageEventModel::Other) {
return false;