summaryrefslogtreecommitdiffstats
path: root/stats/pieseries.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-18 12:35:22 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2021-01-20 08:47:18 +0100
commit2480d3b7e0280e34377c2cd1840c0a7770bf18ef (patch)
tree36daa5a199c9024367ecb0997c51d75a1682ca19 /stats/pieseries.h
parentb068b2b0e70c131ee146cc7962979684a0b3a527 (diff)
downloadsubsurface-2480d3b7e0280e34377c2cd1840c0a7770bf18ef.tar.gz
statistics: remove QGraphicsView from StatSeries
All series are converted to QSG. Thus, the pointer to the QGraphicsView can be removed from the common base class. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/pieseries.h')
-rw-r--r--stats/pieseries.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/stats/pieseries.h b/stats/pieseries.h
index d9dd1b5fb..da1886500 100644
--- a/stats/pieseries.h
+++ b/stats/pieseries.h
@@ -12,7 +12,6 @@
struct InformationBox;
struct ChartPieItem;
struct ChartTextItem;
-class QGraphicsScene;
class QRectF;
class PieSeries : public StatsSeries {
@@ -20,7 +19,7 @@ public:
// The pie series is initialized with (name, count) pairs.
// If keepOrder is false, bins will be sorted by size, otherwise the sorting
// of the shown bins will be retained. Small bins are omitted for clarity.
- PieSeries(QGraphicsScene *scene, StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis, const QString &categoryName,
+ PieSeries(StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis, const QString &categoryName,
const std::vector<std::pair<QString, int>> &data, bool keepOrder, bool labels);
~PieSeries();