mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-01 21:12:11 -04:00
Add Merge database utility function (#47)
Thank you to @TheZ3ro and @monomon for there major contributions to this PR!
This commit is contained in:
parent
e00c6f9c77
commit
e25cd9ba48
16 changed files with 382 additions and 3 deletions
|
@ -282,6 +282,12 @@ void Database::recycleGroup(Group* group)
|
|||
}
|
||||
}
|
||||
|
||||
void Database::merge(const Database* other)
|
||||
{
|
||||
m_rootGroup->merge(other->rootGroup());
|
||||
Q_EMIT modified();
|
||||
}
|
||||
|
||||
void Database::setEmitModified(bool value)
|
||||
{
|
||||
if (m_emitModified && !value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue