cleanup: remove unused MainTab::refreshDisplayedDiveSite()

The last user seems to have been removed in 3a3089770a
and nobody complained.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2022-03-05 17:29:58 +01:00 committed by bstoeger
parent 75b2fcc4a4
commit f682b365a6
2 changed files with 0 additions and 6 deletions

View file

@ -485,11 +485,6 @@ void MainTab::updateDiveInfo()
qDebug() << "Set the current dive site:" << current_dive->dive_site->uuid; qDebug() << "Set the current dive site:" << current_dive->dive_site->uuid;
} }
void MainTab::refreshDisplayedDiveSite()
{
ui.location->setCurrentDiveSite(current_dive);
}
void MainTab::acceptChanges() void MainTab::acceptChanges()
{ {
if (ui.location->hasFocus()) if (ui.location->hasFocus())

View file

@ -26,7 +26,6 @@ public:
MainTab(QWidget *parent = 0); MainTab(QWidget *parent = 0);
void clearTabs(); void clearTabs();
bool isEditing(); bool isEditing();
void refreshDisplayedDiveSite();
void nextInputField(QKeyEvent *event); void nextInputField(QKeyEvent *event);
void stealFocus(); void stealFocus();