summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-11-14 18:05:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-14 10:01:50 -0800
commit71389cfa928b22216dc4753f86827f6bc05a1bd2 (patch)
tree10855605864ab94d875b61de5163344046bfa3da /desktop-widgets/tab-widgets
parent38a784f5af3e19936df29e93b70a66e3741f8ea8 (diff)
downloadsubsurface-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/tab-widgets')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp4
-rw-r--r--desktop-widgets/tab-widgets/maintab.h3
2 files changed, 0 insertions, 7 deletions
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();