mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 14:46:07 -04:00
Display expired entries and groups struck out.
This commit is contained in:
parent
e5062cb745
commit
ce268260b1
8 changed files with 48 additions and 2 deletions
|
@ -196,6 +196,11 @@ QString Entry::notes() const
|
|||
return m_attributes->value("Notes");
|
||||
}
|
||||
|
||||
bool Entry::isExpired() const
|
||||
{
|
||||
return m_data.timeInfo.expires() && m_data.timeInfo.expiryTime() < Tools::currentDateTimeUtc();
|
||||
}
|
||||
|
||||
EntryAttributes* Entry::attributes()
|
||||
{
|
||||
return m_attributes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue