From d81223b3f4031ec2f33db164351fb369aeed6b8c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 17 Feb 2014 14:39:03 -0800 Subject: Missing initializer This was causing us to access uninitialized memory at times. Signed-off-by: Dirk Hohndel --- qt-ui/profile/divecartesianaxis.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile') 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()); -- cgit v1.2.3-70-g09d2