diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-20 18:12:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-10 15:57:39 -0800 |
commit | 3f100fda0ac4848f5ddf1793b7b1f3a03c97ccd9 (patch) | |
tree | 22b0880a555dd73c45840517812cec550791c2b0 /profile-widget/profilewidget2.h | |
parent | bd01e91ea39c837677b543f1493e837d356cfaee (diff) | |
download | subsurface-3f100fda0ac4848f5ddf1793b7b1f3a03c97ccd9.tar.gz |
profile: initialize axis of DiveProfileItems on construction
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index f077eb9e4..ff70c4c0e 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -78,7 +78,7 @@ public: void resetZoom(); void scale(qreal sx, qreal sy); void plotDive(const struct dive *d, bool force = false, bool clearPictures = false, bool instant = false); - void setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *vAxis, int vData, int hData, int zValue); + void setupItem(AbstractProfilePolygonItem *item, int zValue); void setPrintMode(bool mode, bool grayscale = false); bool getPrintMode(); bool isPointOutOfBoundaries(const QPointF &point) const; @@ -158,7 +158,7 @@ private: void disconnectTemporaryConnections(); struct plot_data *getEntryFromPos(QPointF pos); void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)()); - void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_index_t color, color_index_t colorAlert, + void createPPGas(PartialPressureGasItem *item, color_index_t color, color_index_t colorAlert, const double *thresholdSettingsMin, const double *thresholdSettingsMax); void clearPictures(); void plotPicturesInternal(const struct dive *d, bool synchronous); |