mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-23 16:31:28 -05:00
Allow passing entry cloning flags to Group::clone().
This commit is contained in:
parent
f2dfef8c41
commit
a992c76d6a
2 changed files with 3 additions and 3 deletions
|
|
@ -464,7 +464,7 @@ QSet<Uuid> Group::customIconsRecursive() const
|
|||
return result;
|
||||
}
|
||||
|
||||
Group* Group::clone() const
|
||||
Group* Group::clone(Entry::CloneFlags entryFlags) const
|
||||
{
|
||||
Group* clonedGroup = new Group();
|
||||
|
||||
|
|
@ -474,7 +474,7 @@ Group* Group::clone() const
|
|||
clonedGroup->m_data = m_data;
|
||||
|
||||
Q_FOREACH (Entry* entry, entries()) {
|
||||
Entry* clonedEntry = entry->clone(Entry::CloneNewUuid | Entry::CloneResetTimeInfo);
|
||||
Entry* clonedEntry = entry->clone(entryFlags);
|
||||
clonedEntry->setGroup(clonedGroup);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue