Cleanup: remove unused function MainTab::showLocation()

The last caller was removed way back in 266e754d08.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-10-12 09:01:04 +02:00 committed by Jan Mulder
parent 1f76460dfa
commit 5d1c30acbf
2 changed files with 0 additions and 9 deletions

View file

@ -369,14 +369,6 @@ bool MainTab::isEditing()
return editMode != NONE;
}
void MainTab::showLocation()
{
if (get_dive_site_by_uuid(displayed_dive.dive_site_uuid))
ui.location->setCurrentDiveSiteUuid(displayed_dive.dive_site_uuid);
else
ui.location->clear();
}
void MainTab::updateDepthDuration()
{
ui.depth->setVisible(true);

View file

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