summaryrefslogtreecommitdiffstats
path: root/stats
diff options
context:
space:
mode:
Diffstat (limited to 'stats')
-rw-r--r--stats/barseries.cpp1
-rw-r--r--stats/boxseries.cpp1
-rw-r--r--stats/informationbox.cpp1
-rw-r--r--stats/pieseries.cpp1
-rw-r--r--stats/scatterseries.cpp1
-rw-r--r--stats/statsaxis.cpp2
-rw-r--r--stats/statsaxis.h3
-rw-r--r--stats/statsgrid.cpp1
8 files changed, 0 insertions, 11 deletions
diff --git a/stats/barseries.cpp b/stats/barseries.cpp
index 986aa7e0d..49170bf80 100644
--- a/stats/barseries.cpp
+++ b/stats/barseries.cpp
@@ -7,7 +7,6 @@
#include "zvalues.h"
#include <math.h> // for lrint()
-#include <QChart>
#include <QLocale>
// Constants that control the bar layout
diff --git a/stats/boxseries.cpp b/stats/boxseries.cpp
index c684eff8b..08a421205 100644
--- a/stats/boxseries.cpp
+++ b/stats/boxseries.cpp
@@ -6,7 +6,6 @@
#include "statstranslations.h"
#include "zvalues.h"
-#include <QChart>
#include <QLocale>
// Constants that control the bar layout
diff --git a/stats/informationbox.cpp b/stats/informationbox.cpp
index c11104333..189fd1ab1 100644
--- a/stats/informationbox.cpp
+++ b/stats/informationbox.cpp
@@ -2,7 +2,6 @@
#include "statscolors.h"
#include "zvalues.h"
-#include <QChart>
#include <QFontMetrics>
#include <QGraphicsScene>
diff --git a/stats/pieseries.cpp b/stats/pieseries.cpp
index ac43b6d3a..fe7de17f7 100644
--- a/stats/pieseries.cpp
+++ b/stats/pieseries.cpp
@@ -8,7 +8,6 @@
#include <numeric>
#include <math.h>
-#include <QChart>
#include <QGraphicsEllipseItem>
#include <QLocale>
diff --git a/stats/scatterseries.cpp b/stats/scatterseries.cpp
index 67687de72..8e2399008 100644
--- a/stats/scatterseries.cpp
+++ b/stats/scatterseries.cpp
@@ -10,7 +10,6 @@
#include "core/divelist.h"
#include "core/qthelper.h"
-#include <QChart>
#include <QGraphicsPixmapItem>
#include <QPainter>
diff --git a/stats/statsaxis.cpp b/stats/statsaxis.cpp
index 4d70488da..8b8694964 100644
--- a/stats/statsaxis.cpp
+++ b/stats/statsaxis.cpp
@@ -9,7 +9,6 @@
#include "core/subsurface-time.h"
#include <math.h> // for lrint
#include <numeric>
-#include <QChart>
#include <QFontMetrics>
#include <QLocale>
@@ -228,7 +227,6 @@ ValueAxis::ValueAxis(const QString &title, double min, double max, int decimals,
void ValueAxis::updateLabels()
{
- using QtCharts::QValueAxis;
labels.clear();
ticks.clear();
diff --git a/stats/statsaxis.h b/stats/statsaxis.h
index dbcfb6fbd..72a191963 100644
--- a/stats/statsaxis.h
+++ b/stats/statsaxis.h
@@ -4,12 +4,9 @@
#include <memory>
#include <vector>
-#include <QBarCategoryAxis>
-#include <QCategoryAxis>
#include <QFont>
#include <QGraphicsSimpleTextItem>
#include <QGraphicsLineItem>
-#include <QValueAxis>
class QGraphicsScene;
diff --git a/stats/statsgrid.cpp b/stats/statsgrid.cpp
index 11b05882b..66c720c33 100644
--- a/stats/statsgrid.cpp
+++ b/stats/statsgrid.cpp
@@ -5,7 +5,6 @@
#include "statshelper.h"
#include "zvalues.h"
-#include <QChart>
#include <QGraphicsLineItem>
static const double gridWidth = 1.0;