aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-20 12:38:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-04 15:18:18 -0700
commit6bf980d85eaf2062876589c1a7c9cb12169854e3 (patch)
tree70d33d92ff273d3bf375ab0b61d3ab3de428ea3a
parentc792c00f072d8d9ff838393b3e5fa0b2a655e422 (diff)
downloadsubsurface-6bf980d85eaf2062876589c1a7c9cb12169854e3.tar.gz
Profile: ensure the correct settingsChanged() function is called
Found via LGTM. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--profile-widget/diveprofileitem.cpp2
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)