diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 4 | ||||
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.h | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index c2c3f63dd..b9ee3a15a 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -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(); diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index f519d6a0b..386fa454e 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -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); diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index 5ec4e6096..4227c9cb0 100644 --- a/desktop-widgets/tab-widgets/maintab.h +++ b/desktop-widgets/tab-widgets/maintab.h @@ -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(); |