cleanup: remove current_dive parameter from divesSelected signal

The diveListNotifier.divesSelected() signal is used to inform the
models of a selection change. It sent the current dive as a second
parameter. This is redundant, because the only sender of the signal
sets current_dive just before sending the signal. Remove the
parameter, which appears to be an artifact.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-03-11 22:21:18 +01:00 committed by Dirk Hohndel
parent 950ae951bc
commit 7387b10b29
4 changed files with 7 additions and 7 deletions

View file

@ -94,7 +94,7 @@ signals:
void tripChanged(dive_trip *trip, TripField field);
// Selection changes
void divesSelected(const QVector<dive *> &dives, dive *current);
void divesSelected(const QVector<dive *> &dives);
// Dive site signals. Add and delete events are sent per dive site and
// provide an index into the global dive site table.