mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-15 01:36:14 -04:00
Notify entry/group parent on deletion.
Also make the root group pseudo static, i.e. it shouldn't be changed after the database has been fully constructed.
This commit is contained in:
parent
d4f02a78a7
commit
027362be76
11 changed files with 90 additions and 41 deletions
|
@ -38,9 +38,8 @@ void TestKeePass2Writer::initTestCase()
|
|||
m_dbOrg = new Database();
|
||||
m_dbOrg->setKey(key);
|
||||
m_dbOrg->metadata()->setName("TESTDB");
|
||||
Group* group = new Group();
|
||||
Group* group = m_dbOrg->rootGroup();
|
||||
group->setUuid(Uuid::random());
|
||||
m_dbOrg->setRootGroup(group);
|
||||
Entry* entry = new Entry();
|
||||
entry->setUuid(Uuid::random());
|
||||
entry->addAttribute("test", "protectedTest", true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue