author | zautrix <zautrix> | 2005-04-21 11:44:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-21 11:44:00 (UTC) |
commit | 4d96d7b681ce99d76746a843c289b75f5e7dba64 (patch) (side-by-side diff) | |
tree | 71b6953625d8b096e62177bf93379c3ca6c74d66 /korganizer/koagendaitem.cpp | |
parent | f23afbb9c09b4ee0f00af8f04ee4458181792cd0 (diff) | |
download | kdepimpi-4d96d7b681ce99d76746a843c289b75f5e7dba64.zip kdepimpi-4d96d7b681ce99d76746a843c289b75f5e7dba64.tar.gz kdepimpi-4d96d7b681ce99d76746a843c289b75f5e7dba64.tar.bz2 |
memory leaks fixed
-rw-r--r-- | korganizer/koagendaitem.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 1801d7e..df2e478 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -155,8 +155,12 @@ void KOAgendaItem::init ( Incidence *incidence, QDate qd ) KOAgendaItem::~KOAgendaItem() { - // qDebug("deleteKOAgendaItem::~KOAgendaItem( "); - // delete mKOAgendaItemWhatsThis; +#if QT_VERSION >= 0x030000 + +#else + delete mKOAgendaItemWhatsThis; +#endif + } void KOAgendaItem::recreateIncidence() |