cleanup: remove empty function MainTab::reload()

This used to reload the completion models. Moreover, remove two
obsolete member-function declarations.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-11-14 18:05:21 +01:00 committed by Dirk Hohndel
parent 38a784f5af
commit 71389cfa92
3 changed files with 0 additions and 9 deletions

View file

@ -406,8 +406,6 @@ MainWindow *MainWindow::instance()
// This gets called after one or more dives were added, edited or downloaded for a dive computer
void MainWindow::refreshDisplay()
{
mainTab->reload();
setApplicationState(ApplicationState::Default);
diveList->setEnabled(true);
diveList->setFocus();

View file

@ -491,10 +491,6 @@ void MainTab::updateDiveInfo()
qDebug() << "Set the current dive site:" << current_dive->dive_site->uuid;
}
void MainTab::reload()
{
}
void MainTab::refreshDisplayedDiveSite()
{
ui.location->setCurrentDiveSite(current_dive);

View file

@ -25,10 +25,7 @@ class MainTab : public QTabWidget {
public:
MainTab(QWidget *parent = 0);
void clearTabs();
void reload();
void initialUiSetup();
bool isEditing();
void updateCoordinatesText(qreal lat, qreal lon);
void refreshDisplayedDiveSite();
void nextInputField(QKeyEvent *event);
void stealFocus();