diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-05-08 13:06:49 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2021-05-08 13:40:24 +0200 |
commit | dc645ce8c672af8d8166c27ff581ae44994faf6d (patch) | |
tree | 1449363840c385066ca914f5e36c3023d69b3997 /core | |
parent | a7002f4089e76efc0667d22fc10f44ada35ec1bd (diff) | |
download | subsurface-dc645ce8c672af8d8166c27ff581ae44994faf6d.tar.gz |
profile: rename GF_LINE color to DURATION_LINE
The color was misnamed, since it has only been used for the
duration line for quite some time (since 893bea700c98 to be
exact).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/color.cpp | 2 | ||||
-rw-r--r-- | core/color.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/color.cpp b/core/color.cpp index 03e1b6806..045fcf21a 100644 --- a/core/color.cpp +++ b/core/color.cpp @@ -65,7 +65,7 @@ static QMap<color_index_t, std::array<QColor, 2>> profile_color = { { CALC_CEILING_SHALLOW, {{ FUNGREEN1_HIGH_TRANS, BLACK1_HIGH_TRANS }} }, { CALC_CEILING_DEEP, {{ APPLE1_HIGH_TRANS, BLACK1_HIGH_TRANS }} }, { TISSUE_PERCENTAGE, {{ GOVERNORBAY2, BLACK1_LOW_TRANS }} }, - { GF_LINE, {{ BLACK1, BLACK1_LOW_TRANS }} } + { DURATION_LINE, {{ BLACK1, BLACK1_LOW_TRANS }} } }; QColor getColor(const color_index_t i, bool isGrayscale) diff --git a/core/color.h b/core/color.h index 21f2bfff0..37281045e 100644 --- a/core/color.h +++ b/core/color.h @@ -135,7 +135,7 @@ typedef enum { CALC_CEILING_SHALLOW, CALC_CEILING_DEEP, TISSUE_PERCENTAGE, - GF_LINE + DURATION_LINE } color_index_t; QColor getColor(const color_index_t i, bool isGrayscale = false); |