diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 3f45bf5f6..05d5a1327 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -485,11 +485,6 @@ void MainTab::updateDiveInfo() qDebug() << "Set the current dive site:" << current_dive->dive_site->uuid; } -void MainTab::refreshDisplayedDiveSite() -{ - ui.location->setCurrentDiveSite(current_dive); -} - void MainTab::acceptChanges() { if (ui.location->hasFocus()) diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index 96519e2e1..7af843000 100644 --- a/desktop-widgets/tab-widgets/maintab.h +++ b/desktop-widgets/tab-widgets/maintab.h @@ -26,7 +26,6 @@ public: MainTab(QWidget *parent = 0); void clearTabs(); bool isEditing(); - void refreshDisplayedDiveSite(); void nextInputField(QKeyEvent *event); void stealFocus();