summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDivePlanner.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-08 16:44:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:25:00 -0700
commita03757801583ee8fa637b1a236b70554a033bfde (patch)
tree73c715369de377a49753422e58841f34d7ec52ec /core/settings/qPrefDivePlanner.cpp
parentc0b78d69d9860d1169d43db594f5fb242a5876a5 (diff)
downloadsubsurface-a03757801583ee8fa637b1a236b70554a033bfde.tar.gz
core/settings: change bestmixend to int, to allow qml to work
depth_t is a good struct in C, but bad in QML. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefDivePlanner.cpp')
-rw-r--r--core/settings/qPrefDivePlanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPrefDivePlanner.cpp b/core/settings/qPrefDivePlanner.cpp
index ecb8fcf3b..ce15a081e 100644
--- a/core/settings/qPrefDivePlanner.cpp
+++ b/core/settings/qPrefDivePlanner.cpp
@@ -54,7 +54,7 @@ HANDLE_PREFERENCE_INT(DivePlanner, "ascrate50", ascrate50);
HANDLE_PREFERENCE_INT(DivePlanner, "ascrate75", ascrate75);
-HANDLE_PREFERENCE_STRUCT(DivePlanner, depth_t, "bestmixend", bestmixend, mm);
+HANDLE_PREFERENCE_STRUCT(DivePlanner, "bestmixend", bestmixend, mm);
HANDLE_PREFERENCE_INT(DivePlanner, "bottompo2", bottompo2);