mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-18 00:38:49 -05:00
Minor changes to Group API to make it more explicit
* Include check for group as recycle bin directly into the Group::isRecycled() function * Return the original root group from Database::setRootGroup(...) to force memory management transfer
This commit is contained in:
parent
ee1268c518
commit
6f112b11e4
14 changed files with 46 additions and 70 deletions
|
|
@ -463,7 +463,7 @@ bool Entry::isRecycled() const
|
|||
return false;
|
||||
}
|
||||
|
||||
return m_group == db->metadata()->recycleBin() || m_group->isRecycled();
|
||||
return m_group->isRecycled();
|
||||
}
|
||||
|
||||
bool Entry::isAttributeReference(const QString& key) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue