mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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);
|
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::calcceilingChanged, this, &DiveCalculatedCeiling::setVisible);
|
||||||
setVisible(prefs.calcceiling);
|
setVisible(prefs.calcceiling);
|
||||||
settingsChanged();
|
DiveCalculatedCeiling::settingsChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DiveCalculatedCeiling::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
|
void DiveCalculatedCeiling::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
|
||||||
|
|
Loading…
Add table
Reference in a new issue