Use DelegateTypeRole searchmodel

Change EventTypeRole to DelegateTypeRole to match updated message event model.
This commit is contained in:
James Graham
2023-04-16 08:32:51 +00:00
parent 0dca9588ff
commit 6ec7d8d6b4
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ public:
*/
enum Roles {
DisplayRole = Qt::DisplayRole, /**< The message string. */
EventTypeRole, /**< The type of the event. */
DelegateTypeRole, /**< The type of the event. */
ShowAuthorRole, /**< Whether the author should be shown (always true). */
AuthorRole, /**< The author of the event. */
ShowSectionRole, /**< Whether the section header should be shown. */