From 86f384f932ae04ab17dabadda81d845069f963d7 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 24 Nov 2019 15:05:35 +0100 Subject: Cleanup: rename newCurrentDive signal to currentDiveChanged This is more consistent with the rest of the signals. Signed-off-by: Berthold Stoeger --- desktop-widgets/divelistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/divelistview.cpp') 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) -- cgit v1.2.3-70-g09d2