diff options
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
-rw-r--r-- | qt-ui/profile/diveprofileitem.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index 23c41a708..d72a83834 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -438,6 +438,13 @@ void DiveReportedCeiling::modelDataChanged() setBrush(pat); } +void DiveCalculatedCeiling::preferencesChanged() +{ + QSettings s; + s.beginGroup("TecDetails"); + setVisible(s.value("calcceiling").toBool()); +} + void DiveReportedCeiling::preferencesChanged() { QSettings s; |