diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-17 14:39:03 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-17 14:40:10 -0800 |
commit | d81223b3f4031ec2f33db164351fb369aeed6b8c (patch) | |
tree | fa4ced2d3f9f64edb223fe8114e65a2da7559e02 /qt-ui/profile/divecartesianaxis.cpp | |
parent | bbb071f1e8e9429ea49d869437a56d2876fb8287 (diff) | |
download | subsurface-d81223b3f4031ec2f33db164351fb369aeed6b8c.tar.gz |
Missing initializer
This was causing us to access uninitialized memory at times.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index e7c043c66..c2ccdebcd 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -65,6 +65,7 @@ DiveCartesianAxis::DiveCartesianAxis() : QObject(), tick_size(0), labelScale(1.0), textVisibility(true), + lineVisibility(true), line_size(1) { setPen(gridPen()); |