mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
Add "Restore Entries" feature
This commit is contained in:
parent
e5822974ac
commit
70e62d90db
10 changed files with 63 additions and 1 deletions
|
@ -1381,6 +1381,14 @@ QString Entry::resolveUrl(const QString& url) const
|
|||
return {};
|
||||
}
|
||||
|
||||
Group* Entry::previousParentGroup()
|
||||
{
|
||||
if (!database() || !database()->rootGroup()) {
|
||||
return nullptr;
|
||||
}
|
||||
return database()->rootGroup()->findGroupByUuid(m_data.previousParentGroupUuid);
|
||||
}
|
||||
|
||||
const Group* Entry::previousParentGroup() const
|
||||
{
|
||||
if (!database() || !database()->rootGroup()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue