mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-24 11:01:38 -08:00
Add expiry option to group edit.
This commit is contained in:
1 parent
810a6e4b39
commit
d218924b4f
4 files changed
+55
-11
No files matched your search
@@ -248,6 +248,24 @@ void Group::setLastTopVisibleEntry(Entry* entry)
|
||||
set(m_lastTopVisibleEntry, entry);
|
||||
}
|
||||
|
||||
void Group::setExpires(const bool& value)
|
||||
{
|
||||
if (m_timeInfo.expires() != value) {
|
||||
m_timeInfo.setExpires(value);
|
||||
updateTimeinfo();
|
||||
Q_EMIT modified();
|
||||
}
|
||||
}
|
||||
|
||||
void Group::setExpiryTime(const QDateTime& dateTime)
|
||||
{
|
||||
if (m_timeInfo.expiryTime() != dateTime) {
|
||||
m_timeInfo.setExpiryTime(dateTime);
|
||||
updateTimeinfo();
|
||||
Q_EMIT modified();
|
||||
}
|
||||
}
|
||||
|
||||
Group* Group::parentGroup()
|
||||
{
|
||||
return m_parent;
|
||||
|
||||
Reference in new issue
Block a user