aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 734612ff7..8ddcf9615 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -108,8 +108,7 @@ public slots:
void divesMovedBetweenTrips(dive_trip *from, dive_trip *to, bool deleteFrom, bool createTo, const QVector<dive *> &dives);
void divesChanged(const QVector<dive *> &dives);
void divesTimeChanged(timestamp_t delta, const QVector<dive *> &dives);
- void divesSelected(const QVector<dive *> &dives);
- void currentDiveChanged();
+ void divesSelected(const QVector<dive *> &dives, dive *current);
void tripChanged(dive_trip *trip, TripField);
public:
@@ -175,8 +174,7 @@ public slots:
void divesTimeChanged(timestamp_t delta, const QVector<dive *> &dives);
// Does nothing in list view.
//void divesMovedBetweenTrips(dive_trip *from, dive_trip *to, bool deleteFrom, bool createTo, const QVector<dive *> &dives);
- void divesSelected(const QVector<dive *> &dives);
- void currentDiveChanged();
+ void divesSelected(const QVector<dive *> &dives, dive *current);
public:
DiveTripModelList(QObject *parent = nullptr);