diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-04-28 12:45:42 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-28 12:45:42 -0700 |
commit | 2d24779b6226f6f9757abe565307d2956b375c0d (patch) | |
tree | 92b09cf28b7bae2c216a000c13f8211129537497 /qt-ui/profile/divecartesianaxis.cpp | |
parent | dad3c5d9db5c5ccecf972c405c9b53c82d5ee1a8 (diff) | |
download | subsurface-2d24779b6226f6f9757abe565307d2956b375c0d.tar.gz |
Make heartrate grid less confusing
Having all the grid lines in the same color made things visually
confusing. To clean this up a little make the heartrate lines a light gray
color.
Fixes #484
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 2729647f3..c1e93faa7 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -124,7 +124,7 @@ void emptyList(QList<T *> &list, double steps) } } -void DiveCartesianAxis::updateTicks() +void DiveCartesianAxis::updateTicks(color_indice_t color) { if (!scene()) return; @@ -220,7 +220,7 @@ void DiveCartesianAxis::updateTicks() } DiveLineItem *line = new DiveLineItem(this); QPen pen; - pen.setBrush(getColor(TIME_GRID)); + pen.setBrush(getColor(color)); pen.setCosmetic(true); pen.setWidthF(2); line->setPen(pen); |