desktop: fold DiveListView::selectDive into DiveListView::selectDive

DiveListView::selectDive() is an overloaded function. The second
version was only called by the first version, so we can fold one
into the other.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-25 15:26:52 +02:00 committed by Dirk Hohndel
parent f8d3501c22
commit 9fae262188
2 changed files with 8 additions and 15 deletions

View file

@ -86,7 +86,6 @@ private:
void addToTrip(int delta);
void matchImagesToDives(QStringList fileNames);
void loadImageFromURL(QUrl url);
void selectDive(QModelIndex index);
void selectDive(int dive_table_idx);
QNetworkAccessManager manager;
};