diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-03-20 12:38:43 -0700 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-03-20 21:18:06 +0100 |
commit | c94e77d3dc282e2599ee12175343f87a1eb3f92d (patch) | |
tree | b78a418605bff9d6e8acc03ef8f951b0aafe1bd0 /profile-widget/diveprofileitem.cpp | |
parent | c69ca4df80c9c74aa842b7f1fb3c44b22ae3232e (diff) | |
download | subsurface-c94e77d3dc282e2599ee12175343f87a1eb3f92d.tar.gz |
Profile: ensure the correct settingsChanged() function is called
Found via LGTM.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/diveprofileitem.cpp')
-rw-r--r-- | profile-widget/diveprofileitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index 4fd817093..c31944f87 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -823,7 +823,7 @@ DiveCalculatedCeiling::DiveCalculatedCeiling(ProfileWidget2 *widget) : { connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::calcceilingChanged, this, &DiveCalculatedCeiling::setVisible); setVisible(prefs.calcceiling); - settingsChanged(); + DiveCalculatedCeiling::settingsChanged(); } void DiveCalculatedCeiling::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) |