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:
Felix Geyer committed 2011-07-09 21:54:01 +02:00
1 parent d4f02a78a7
commit 027362be76
11 files changed
+90 -41

No files matched your search

+4 -1
View File
@@ -40,7 +40,10 @@ Entry::Entry()
Entry::~Entry()
{
// TODO notify group
if (m_group) {
m_group->removeEntry(this);
}
qDeleteAll(m_history);
}