diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-28 15:49:49 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-12-04 13:00:23 +0100 |
commit | 75dac8906ec0e9b0d1a3cad24ab89bf033bafbf9 (patch) | |
tree | 02e289a636bc94f0f1af7add9f41a1e085785c63 /desktop-widgets/divelistview.h | |
parent | 364a8270d1089dcd8f3efb411568be273aa0b59a (diff) | |
download | subsurface-75dac8906ec0e9b0d1a3cad24ab89bf033bafbf9.tar.gz |
Cleanup: remove toggle parameter from DiveListView::selectDive()
This defaulted to false and no caller used anything different.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divelistview.h')
-rw-r--r-- | desktop-widgets/divelistview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/divelistview.h b/desktop-widgets/divelistview.h index 9cb2bd66a..f4738e346 100644 --- a/desktop-widgets/divelistview.h +++ b/desktop-widgets/divelistview.h @@ -31,8 +31,8 @@ public: bool eventFilter(QObject *, QEvent *); void unselectDives(); void clearTripSelection(); - void selectDive(QModelIndex index, bool scrollto = false, bool toggle = false); - void selectDive(int dive_table_idx, bool scrollto = false, bool toggle = false); + void selectDive(QModelIndex index, bool scrollto = false); + void selectDive(int dive_table_idx, bool scrollto = false); void selectDives(const QList<int> &newDiveSelection); void contextMenuEvent(QContextMenuEvent *event); QList<dive_trip *> selectedTrips(); |