mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-30 05:43:05 -08: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:
1 parent
d4f02a78a7
commit
027362be76
11 files changed
+90
-41
No files matched your search
+4
-1
@@ -40,7 +40,10 @@ Entry::Entry()
|
||||
|
||||
Entry::~Entry()
|
||||
{
|
||||
// TODO notify group
|
||||
if (m_group) {
|
||||
m_group->removeEntry(this);
|
||||
}
|
||||
|
||||
qDeleteAll(m_history);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user