aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/diveeventitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp
index cfbba4c8a..9cb28e168 100644
--- a/profile-widget/diveeventitem.cpp
+++ b/profile-widget/diveeventitem.cpp
@@ -18,7 +18,8 @@ DiveEventItem::DiveEventItem(QGraphicsItem *parent) : DivePixmapItem(parent),
vAxis(NULL),
hAxis(NULL),
dataModel(NULL),
- internalEvent(NULL)
+ internalEvent(NULL),
+ dive(NULL)
{
setFlag(ItemIgnoresTransformations);
}