summaryrefslogtreecommitdiffstats
path: root/stats/legend.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-19 12:59:56 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2021-01-20 08:47:18 +0100
commit2e2019dea7087937d7bcc0e9bd2598d61a758b65 (patch)
tree032ba3da052a6a8afb1c789ee1b3bf62a3a39c6a /stats/legend.cpp
parentba259fb1d66c242d9503ba9695ce55826370267e (diff)
downloadsubsurface-2e2019dea7087937d7bcc0e9bd2598d61a758b65.tar.gz
statistics: move colors to statscolors.h
Most colors were already collected there, but a few were dispersed throughout the source files. For future themeability, move the remaining colors to this common place. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/legend.cpp')
-rw-r--r--stats/legend.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/stats/legend.cpp b/stats/legend.cpp
index d0a5c19b1..fc8656828 100644
--- a/stats/legend.cpp
+++ b/stats/legend.cpp
@@ -12,8 +12,6 @@ static const double legendBoxBorderSize = 1.0;
static const double legendBoxBorderRadius = 4.0; // radius of rounded corners
static const double legendBoxScale = 0.8; // 1.0: text-height of the used font
static const double legendInternalBorderSize = 2.0;
-static const QColor legendColor(0x00, 0x8e, 0xcc, 192); // Note: fourth argument is opacity
-static const QColor legendBorderColor(Qt::black);
Legend::Legend(StatsView &view, const std::vector<QString> &names) :
ChartRectItem(view, ChartZValue::Legend,