diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-02-03 13:28:33 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-02-07 16:06:43 +0100 |
commit | 041d38cc0e55d0f2cc5aee24c06a34eedc6ab229 (patch) | |
tree | c8acd6695ed7adfdb703a5d9b830ec208d184b91 /profile-widget/profilewidget2.cpp | |
parent | 5248820bbf7c3143087e7e026cef42ee2480bc75 (diff) | |
download | subsurface-041d38cc0e55d0f2cc5aee24c06a34eedc6ab229.tar.gz |
Make struct dive const in plotPicturesInternal
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index c8dd6df57..5d282fd95 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -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) |