diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-03-08 00:38:00 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-07 20:37:17 -0800 |
commit | 5bba84e57f660f8ceddb9d45526f80b0f28b9194 (patch) | |
tree | 43a9e571fdb1e308fc786852b9822daeec9ea479 /qt-ui/graphicsview-common.h | |
parent | 04382a1943de623b0caf2eedb5b611d5ec30b385 (diff) | |
download | subsurface-5bba84e57f660f8ceddb9d45526f80b0f28b9194.tar.gz |
Fix colors on the new profile.
This patch fixes the colors on the new profile, the init of the colors map
was not being done. This fixes it.
A few problems were spotted on the new profile dealing with the ruler
graph and a newly added dive, when using the dive add dialog.
I'll be on it later.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/graphicsview-common.h')
-rw-r--r-- | qt-ui/graphicsview-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/graphicsview-common.h b/qt-ui/graphicsview-common.h index 046527d3f..417cd2e65 100644 --- a/qt-ui/graphicsview-common.h +++ b/qt-ui/graphicsview-common.h @@ -73,7 +73,7 @@ typedef enum { extern QMap<color_indice_t, QVector<QColor> > profile_color; void fill_profile_color(); -QColor getColor(const color_indice_t i); +QColor getColor(const color_indice_t i, bool isGrayscale = false); QColor getSacColor(int sac, int diveSac); struct text_render_options { double size; |