mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
// This gets called after one or more dives were added, edited or downloaded for a dive computer
|
||||||
void MainWindow::refreshDisplay()
|
void MainWindow::refreshDisplay()
|
||||||
{
|
{
|
||||||
mainTab->reload();
|
|
||||||
|
|
||||||
setApplicationState(ApplicationState::Default);
|
setApplicationState(ApplicationState::Default);
|
||||||
diveList->setEnabled(true);
|
diveList->setEnabled(true);
|
||||||
diveList->setFocus();
|
diveList->setFocus();
|
||||||
|
|
|
@ -491,10 +491,6 @@ void MainTab::updateDiveInfo()
|
||||||
qDebug() << "Set the current dive site:" << current_dive->dive_site->uuid;
|
qDebug() << "Set the current dive site:" << current_dive->dive_site->uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainTab::reload()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainTab::refreshDisplayedDiveSite()
|
void MainTab::refreshDisplayedDiveSite()
|
||||||
{
|
{
|
||||||
ui.location->setCurrentDiveSite(current_dive);
|
ui.location->setCurrentDiveSite(current_dive);
|
||||||
|
|
|
@ -25,10 +25,7 @@ class MainTab : public QTabWidget {
|
||||||
public:
|
public:
|
||||||
MainTab(QWidget *parent = 0);
|
MainTab(QWidget *parent = 0);
|
||||||
void clearTabs();
|
void clearTabs();
|
||||||
void reload();
|
|
||||||
void initialUiSetup();
|
|
||||||
bool isEditing();
|
bool isEditing();
|
||||||
void updateCoordinatesText(qreal lat, qreal lon);
|
|
||||||
void refreshDisplayedDiveSite();
|
void refreshDisplayedDiveSite();
|
||||||
void nextInputField(QKeyEvent *event);
|
void nextInputField(QKeyEvent *event);
|
||||||
void stealFocus();
|
void stealFocus();
|
||||||
|
|
Loading…
Add table
Reference in a new issue