mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-27 20:36:49 -08: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:
1 parent
b4ff1fa36c
commit
a02bceabd2
14 files changed
+45
-69
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user