mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: constify threshold pointers in DiveProfileItem
These were pointers into the global prefs object. The user must not use these to modify the settings, therefore make them pointers-to-const. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2bd0c2143e
commit
db57a633d5
4 changed files with 6 additions and 6 deletions
|
|
@ -171,7 +171,7 @@ private: /*methods*/
|
|||
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,
|
||||
double *thresholdSettingsMin, double *thresholdSettingsMax);
|
||||
const double *thresholdSettingsMin, const double *thresholdSettingsMax);
|
||||
void clearPictures();
|
||||
private:
|
||||
DivePlotDataModel *dataModel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue