mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make struct dive const in plotPicturesInternal
Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
5248820bbf
commit
041d38cc0e
2 changed files with 2 additions and 2 deletions
|
@ -2231,7 +2231,7 @@ void ProfileWidget2::plotPictures()
|
|||
plotPicturesInternal(current_dive, false);
|
||||
}
|
||||
|
||||
void ProfileWidget2::plotPicturesInternal(struct dive *d, bool synchronous)
|
||||
void ProfileWidget2::plotPicturesInternal(const struct dive *d, bool synchronous)
|
||||
{
|
||||
pictures.clear();
|
||||
if (currentState == ADD || currentState == PLAN)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue