summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r--qt-models/diveplannermodel.cpp4
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));
}