cleanup: Uninitialized scalar field

CID 208332

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-12-28 18:11:32 +01:00 committed by Dirk Hohndel
parent 555f789b55
commit 2fb5a7d082

View file

@ -624,6 +624,7 @@ DiveMeanDepthItem::DiveMeanDepthItem()
pen.setCosmetic(true);
pen.setWidth(2);
setPen(pen);
lastRunningSum = 0.0;
settingsChanged();
}