diff options
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); |