summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.cpp
Side-by-side diff
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()