mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: remove ProfileScene::dataModel
All data access is now directly via the plot_info structure owned by the ProfileScene itself. Also removes DivePercentageItem::hColumn, which was an artifact from the DivePlotDataModel. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
bdbcb1b7e3
commit
7aacde3169
6 changed files with 2 additions and 15 deletions
|
|
@ -11,9 +11,6 @@
|
|||
#include <QPainter>
|
||||
#include <memory>
|
||||
|
||||
class DivePlannerPointsModel;
|
||||
class DivePlotDataModel;
|
||||
|
||||
class AbstractProfilePolygonItem;
|
||||
class DiveCalculatedCeiling;
|
||||
class DiveCalculatedTissue;
|
||||
|
|
@ -24,6 +21,7 @@ class DiveHeartrateItem;
|
|||
class DiveMeanDepthItem;
|
||||
class DivePercentageItem;
|
||||
class DivePixmaps;
|
||||
class DivePlannerPointsModel;
|
||||
class DiveProfileItem;
|
||||
class DiveReportedCeiling;
|
||||
class DiveTemperatureItem;
|
||||
|
|
@ -69,7 +67,6 @@ private:
|
|||
int maxtime;
|
||||
int maxdepth;
|
||||
|
||||
DivePlotDataModel *dataModel;
|
||||
struct plot_info plotInfo;
|
||||
DiveCartesianAxis *profileYAxis;
|
||||
DiveCartesianAxis *gasYAxis;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue