diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-09-24 18:02:07 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-09-24 08:29:56 -0700 |
commit | 7b891904e77364719471098a7bdf4eacc589807c (patch) | |
tree | 9493f9d13b69fb9d13865a5c1a130f1f8fca4f1f /qt-models/diveplannermodel.cpp | |
parent | 2b14a9c95d6179fb4cff352dc20036594c8a5aff (diff) | |
download | subsurface-7b891904e77364719471098a7bdf4eacc589807c.tar.gz |
Rename conservatism_level to vpmb_conservatism
Make the variable purpose less ambiguous
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r-- | qt-models/diveplannermodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index 425d8bc1a..10713f36f 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -421,9 +421,9 @@ void DivePlannerPointsModel::triggerGFLow() } } -void DivePlannerPointsModel::setConservatism(int level) +void DivePlannerPointsModel::setVpmbConservatism(int level) { - prefs.conservatism_level = level; + prefs.vpmb_conservatism = level; emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS - 1)); } |