diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-10 17:33:20 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-01-10 21:25:02 +0100 |
commit | 85ac3106e6ed1e9620a6fd05e207ae2c9d8e762e (patch) | |
tree | 4fb405211e5265043c63e24a7f34ee7bd1e0cc0d /core/color.cpp | |
parent | d9ac716162c8248b60c8407ae8fd2b08cdde58a3 (diff) | |
download | subsurface-85ac3106e6ed1e9620a6fd05e207ae2c9d8e762e.tar.gz |
Typo: indice -> index
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/color.cpp')
-rw-r--r-- | core/color.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/color.cpp b/core/color.cpp index e86b9f62b..b5bbc3269 100644 --- a/core/color.cpp +++ b/core/color.cpp @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "color.h" -QMap<color_indice_t, QVector<QColor> > profile_color; +QMap<color_index_t, QVector<QColor> > profile_color; void fill_profile_color() { @@ -68,7 +68,7 @@ void fill_profile_color() #undef COLOR } -QColor getColor(const color_indice_t i, bool isGrayscale) +QColor getColor(const color_index_t i, bool isGrayscale) { if (profile_color.count() > i && i >= 0) return profile_color[i].at((isGrayscale) ? 1 : 0); @@ -85,7 +85,7 @@ QColor getSacColor(int sac, int avg_sac) sac_index = 0; if (sac_index > SAC_COLORS - 1) sac_index = SAC_COLORS - 1; - return getColor((color_indice_t)(SAC_COLORS_START_IDX + sac_index), false); + return getColor((color_index_t)(SAC_COLORS_START_IDX + sac_index), false); } QColor getPressureColor(double density) |