From 041d38cc0e55d0f2cc5aee24c06a34eedc6ab229 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sun, 3 Feb 2019 13:28:33 +0100 Subject: Make struct dive const in plotPicturesInternal Signed-off-by: Robert C. Helling --- profile-widget/profilewidget2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget/profilewidget2.h') diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index dc02ef55c..443b83c64 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -173,7 +173,7 @@ private: /*methods*/ void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_index_t color, color_index_t colorAlert, const double *thresholdSettingsMin, const double *thresholdSettingsMax); void clearPictures(); - void plotPicturesInternal(struct dive *d, bool synchronous); + void plotPicturesInternal(const struct dive *d, bool synchronous); private: DivePlotDataModel *dataModel; int zoomLevel; -- cgit v1.2.3-70-g09d2