Missing initializer

This was causing us to access uninitialized memory at times.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-02-17 14:39:03 -08:00
parent bbb071f1e8
commit d81223b3f4

View file

@ -65,6 +65,7 @@ DiveCartesianAxis::DiveCartesianAxis() : QObject(),
tick_size(0),
labelScale(1.0),
textVisibility(true),
lineVisibility(true),
line_size(1)
{
setPen(gridPen());