Fix date being show too often
This commit is contained in:
@@ -421,6 +421,8 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
|
|||||||
const KFormat format;
|
const KFormat format;
|
||||||
return format.formatRelativeDateTime(eventDate, QLocale::ShortFormat);
|
return format.formatRelativeDateTime(eventDate, QLocale::ShortFormat);
|
||||||
}
|
}
|
||||||
|
case SpecialMarksRole:
|
||||||
|
return EventStatus::Hidden;
|
||||||
}
|
}
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user