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>
This commit is contained in:
jan Iversen 2018-09-08 16:44:51 +02:00 committed by Dirk Hohndel
parent c0b78d69d9
commit a037578015
5 changed files with 14 additions and 21 deletions

View file

@ -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);