Cleanup: rename newCurrentDive signal to currentDiveChanged

This is more consistent with the rest of the signals.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-11-24 15:05:35 +01:00 committed by bstoeger
parent ae753f4c4d
commit 86f384f932
3 changed files with 11 additions and 11 deletions

View file

@ -87,7 +87,7 @@ void DiveListView::resetModel()
// If the model was reset, we have to reconnect the signals and tell
// the filter model to update its source model.
connect(DiveTripModelBase::instance(), &DiveTripModelBase::selectionChanged, this, &DiveListView::diveSelectionChanged);
connect(DiveTripModelBase::instance(), &DiveTripModelBase::newCurrentDive, this, &DiveListView::currentDiveChanged);
connect(DiveTripModelBase::instance(), &DiveTripModelBase::currentDiveChanged, this, &DiveListView::currentDiveChanged);
}
void DiveListView::calculateInitialColumnWidth(int col)