summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-07 21:17:14 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-08 07:22:17 -0800
commitc05575e103c551ba8bc60ab2d86c9120bed67fbe (patch)
tree48241f6fe47edae52d3d796ead5750d4664e5d1d /qt-ui/profile/divecartesianaxis.cpp
parent4882336315d3ddf01579b94473ffafc62c9807be (diff)
downloadsubsurface-c05575e103c551ba8bc60ab2d86c9120bed67fbe.tar.gz
Re-enable more items on the new profile.
Temperature and DC Label. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index 4545f0338..fc43c5a8c 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -365,7 +365,8 @@ void DiveCartesianPlane::setup()
if (!leftAxis || !bottomAxis || !scene())
return;
- // This creates a Grid around the axis, creating the cartesian plane.
+ setPen(gridPen());
+// This creates a Grid around the axis, creating the cartesian plane.
const int top = leftAxis->posAtValue(leftAxis->minimum());
// unused for now:
// const int bottom = leftAxis->posAtValue(leftAxis->maximum());