summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.cpp
authorzautrix <zautrix>2005-04-21 11:44:00 (UTC)
committer zautrix <zautrix>2005-04-21 11:44:00 (UTC)
commit4d96d7b681ce99d76746a843c289b75f5e7dba64 (patch) (side-by-side diff)
tree71b6953625d8b096e62177bf93379c3ca6c74d66 /korganizer/koagendaitem.cpp
parentf23afbb9c09b4ee0f00af8f04ee4458181792cd0 (diff)
downloadkdepimpi-4d96d7b681ce99d76746a843c289b75f5e7dba64.zip
kdepimpi-4d96d7b681ce99d76746a843c289b75f5e7dba64.tar.gz
kdepimpi-4d96d7b681ce99d76746a843c289b75f5e7dba64.tar.bz2
memory leaks fixed
Diffstat (limited to 'korganizer/koagendaitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp8
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()