aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelistview.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-12-09 09:46:08 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-10 18:45:30 -0800
commit71307bce42af3070c9f2ff32f52e289cb6c3a64d (patch)
treef743f6c9c5f2b3f91741d1eb4d47a795b4cdbc26 /desktop-widgets/divelistview.h
parent9ea46f196adec41afffe8670a647dd04c4519b99 (diff)
downloadsubsurface-71307bce42af3070c9f2ff32f52e289cb6c3a64d.tar.gz
Dive list: don't handle selection changes on filter-change in view
The selection changes upon completing the filter are handled by the core. Don't do this explicitly in the DiveListView. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divelistview.h')
-rw-r--r--desktop-widgets/divelistview.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/divelistview.h b/desktop-widgets/divelistview.h
index be61619e5..86be642b8 100644
--- a/desktop-widgets/divelistview.h
+++ b/desktop-widgets/divelistview.h
@@ -30,7 +30,6 @@ public:
void reload(); // Call to reload model data
bool eventFilter(QObject *, QEvent *);
void unselectDives();
- void clearTripSelection();
void selectDive(QModelIndex index, bool scrollto = false);
void selectDive(int dive_table_idx, bool scrollto = false);
void selectDives(const QList<int> &newDiveSelection);
@@ -63,7 +62,6 @@ slots:
void loadWebImages();
void diveSelectionChanged(const QVector<QModelIndex> &indexes);
void currentDiveChanged(QModelIndex index);
- void filterFinished();
void tripChanged(dive_trip *trip, TripField);
private:
void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags flags) override;