diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2018-02-24 20:00:28 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-25 02:04:30 +0200 |
commit | b5b5d619be023b5c8718f3ea266a159493627e9a (patch) | |
tree | bc136037ab9fdb5edd6d5772e126c2965c9e89ab | |
parent | 3036791d90a5b0d4e31eeb922ee93435b49f3f33 (diff) | |
download | subsurface-b5b5d619be023b5c8718f3ea266a159493627e9a.tar.gz |
For prefs option show_icd add missing call for loading
Add the missing call to load the prefs option show_icd in function
SettingsObjectWrapper::load()
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index f508e993e..04dcbe64d 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -2229,6 +2229,7 @@ void SettingsObjectWrapper::load() GET_BOOL("show_sac", show_sac); GET_BOOL("display_unused_tanks", display_unused_tanks); GET_BOOL("show_average_depth", show_average_depth); + GET_BOOL("show_icd", show_icd); GET_BOOL("show_pictures_in_profile", show_pictures_in_profile); prefs.display_deco_mode = (deco_mode) s.value("display_deco_mode").toInt(); s.endGroup(); |