Fix date being show too often

(cherry picked from commit 3d251b9b25)
This commit is contained in:
Carl Schwan
2021-05-27 18:17:26 +02:00
parent e461e2098b
commit 51e73568c4

View File

@@ -421,6 +421,8 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
const KFormat format;
return format.formatRelativeDateTime(eventDate, QLocale::ShortFormat);
}
case SpecialMarksRole:
return EventStatus::Hidden;
}
return {};
}