From c88ccfae99110332a6f1c78827e454b258ab7a46 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 17 Jan 2014 08:01:24 -0200 Subject: Fix a crash. I forgot to initialize a variable, sorry. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index ebe9db9c3..d8dad5a84 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -33,6 +33,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) : depthController(new DiveRectItem()), timeController(new DiveRectItem()), diveProfileItem(new DiveProfileItem()), + temperatureItem(new DiveTemperatureItem()), cartesianPlane(new DiveCartesianPlane()) { setScene(new QGraphicsScene()); -- cgit v1.2.3-70-g09d2