diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-11-14 18:05:21 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-14 10:01:50 -0800 |
commit | 71389cfa928b22216dc4753f86827f6bc05a1bd2 (patch) | |
tree | 10855605864ab94d875b61de5163344046bfa3da /desktop-widgets | |
parent | 38a784f5af3e19936df29e93b70a66e3741f8ea8 (diff) | |
download | subsurface-71389cfa928b22216dc4753f86827f6bc05a1bd2.tar.gz |
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>
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(); |