diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-17 08:01:24 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-17 08:32:32 -0800 |
commit | c88ccfae99110332a6f1c78827e454b258ab7a46 (patch) | |
tree | f2322fda4674465d75349c393b83c5aa783bb9be /qt-ui/profile/profilewidget2.cpp | |
parent | 09d08ddc1c13850557af28e8349bddd13ef5deec (diff) | |
download | subsurface-c88ccfae99110332a6f1c78827e454b258ab7a46.tar.gz |
Fix a crash.
I forgot to initialize a variable, sorry.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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()); |