From b5b5d619be023b5c8718f3ea266a159493627e9a Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sat, 24 Feb 2018 20:00:28 +0100 Subject: 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 --- core/subsurface-qt/SettingsObjectWrapper.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v1.2.3-70-g09d2