mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
38a784f5af
commit
71389cfa92
3 changed files with 0 additions and 9 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue