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>
This commit is contained in:
Tomaz Canabrava 2014-01-17 08:01:24 -02:00 committed by Dirk Hohndel
parent 09d08ddc1c
commit c88ccfae99

View file

@ -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());