diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2016-01-25 16:49:51 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-25 13:04:16 -0800 |
commit | 2d9613956618105030611f7c785d7dbdd5c5c672 (patch) | |
tree | 134c6d07daf9b37244ce06ff194f83c74d8cead6 /profile-widget/divecartesianaxis.cpp | |
parent | 2c5fad73e8939409639548571dcb942e6b2cb792 (diff) | |
download | subsurface-2d9613956618105030611f7c785d7dbdd5c5c672.tar.gz |
Changed quite a few shorts to bool on the c++ implementtion
The shorts where being used on the preferences since a long
while and we cannot just simply change them to bool since this
could break the preferences files, so work around that by
changing them to booleans, since it's the correct type for a
true / false answer.
Also, move some plot curves to the new settings style
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/divecartesianaxis.cpp')
-rw-r--r-- | profile-widget/divecartesianaxis.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/divecartesianaxis.cpp b/profile-widget/divecartesianaxis.cpp index 41d6bc3e4..2c3b7fe79 100644 --- a/profile-widget/divecartesianaxis.cpp +++ b/profile-widget/divecartesianaxis.cpp @@ -1,6 +1,7 @@ #include "divecartesianaxis.h" #include "divetextitem.h" #include "helpers.h" +#include <subsurface-qt/SettingsObjectWrapper.h> #ifndef SUBSURFACE_MOBILE #include "preferences/preferencesdialog.h" #endif |