diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-24 15:05:35 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-12-04 13:00:23 +0100 |
commit | 86f384f932ae04ab17dabadda81d845069f963d7 (patch) | |
tree | 7f0bf868e52cacf27a1e88e7be61a4428f95c75c /desktop-widgets/divelistview.cpp | |
parent | ae753f4c4d9368f5e44ca5c14cbe6bc01775c48e (diff) | |
download | subsurface-86f384f932ae04ab17dabadda81d845069f963d7.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/divelistview.cpp')
-rw-r--r-- | desktop-widgets/divelistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index 0e7f551b6..05cd6fe72 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -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) |