summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/profile/profilewidget2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index d8dad5a84..9708f2bd3 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -32,8 +32,8 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) :
timeAxis(new TimeAxis()),
depthController(new DiveRectItem()),
timeController(new DiveRectItem()),
- diveProfileItem(new DiveProfileItem()),
- temperatureItem(new DiveTemperatureItem()),
+ diveProfileItem(NULL),
+ temperatureItem(NULL),
cartesianPlane(new DiveCartesianPlane())
{
setScene(new QGraphicsScene());