diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-03-20 12:38:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-04 15:18:18 -0700 |
commit | 6bf980d85eaf2062876589c1a7c9cb12169854e3 (patch) | |
tree | 70d33d92ff273d3bf375ab0b61d3ab3de428ea3a | |
parent | c792c00f072d8d9ff838393b3e5fa0b2a655e422 (diff) | |
download | subsurface-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.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) |