aboutsummaryrefslogtreecommitdiffstats
path: root/stats/regressionitem.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/regressionitem.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/regressionitem.cpp')
-rw-r--r--stats/regressionitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats/regressionitem.cpp b/stats/regressionitem.cpp
index cd817c9eb..362bf1fe1 100644
--- a/stats/regressionitem.cpp
+++ b/stats/regressionitem.cpp
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: GPL-2.0
#include "regressionitem.h"
#include "statsaxis.h"
+#include "statscolors.h"
#include "zvalues.h"
#include <cmath>
-static const QColor regressionItemColor(Qt::red);
static const double regressionLineWidth = 2.0;
RegressionItem::RegressionItem(StatsView &view, regression_data reg,