Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Entry.cpp')
-rw-r--r--src/core/Entry.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp
index ac47a2fc3..0d7c1848d 100644
--- a/src/core/Entry.cpp
+++ b/src/core/Entry.cpp
@@ -40,7 +40,10 @@ Entry::Entry()
Entry::~Entry()
{
- // TODO notify group
+ if (m_group) {
+ m_group->removeEntry(this);
+ }
+
qDeleteAll(m_history);
}