diff options
author | jan Iversen <jani@apache.org> | 2018-09-08 16:44:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:25:00 -0700 |
commit | a03757801583ee8fa637b1a236b70554a033bfde (patch) | |
tree | 73c715369de377a49753422e58841f34d7ec52ec /core/settings/qPrefDivePlanner.cpp | |
parent | c0b78d69d9860d1169d43db594f5fb242a5876a5 (diff) | |
download | subsurface-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.cpp | 2 |
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); |