mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:03:23 +00:00
Profile: ensure the correct settingsChanged() function is called
Found via LGTM. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c69ca4df80
commit
c94e77d3dc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue