summaryrefslogtreecommitdiff
path: root/core/pim/datebook/dateentryimpl.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/datebook/dateentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/dateentryimpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp
index 13d2ce2..d9e5225 100644
--- a/core/pim/datebook/dateentryimpl.cpp
+++ b/core/pim/datebook/dateentryimpl.cpp
@@ -402,6 +402,8 @@ void DateEntry::slotRepeat()
rp = e->repeatPattern();
setRepeatLabel();
}
+ // deleting sounds like a nice idea...
+ delete e;
}
void DateEntry::slotChangeStartOfWeek( bool onMonday )