Cleanup: remove unused function MainTab::setCurrentLocationIndex

The last caller was removed in ce8199cdfd.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-02-02 16:53:26 +01:00 committed by Lubomir I. Ivanov
parent 3502afad10
commit 5e2dfd546e
2 changed files with 0 additions and 12 deletions

View file

@ -220,17 +220,6 @@ MainTab::~MainTab()
}
}
void MainTab::setCurrentLocationIndex()
{
if (current_dive) {
struct dive_site *ds = current_dive->dive_site;
if (ds)
ui.location->setCurrentDiveSite(ds);
else
ui.location->clear();
}
}
void MainTab::toggleTriggeredColumn()
{
QAction *action = qobject_cast<QAction *>(sender());

View file

@ -97,7 +97,6 @@ slots:
void toggleTriggeredColumn();
void updateTextLabels(bool showUnits = true);
void escDetected(void);
void setCurrentLocationIndex();
EditMode getEditMode() const;
private:
Ui::MainTab ui;