mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove unused function MainTab::setCurrentLocationIndex
The last caller was removed in ce8199cdfd
.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3502afad10
commit
5e2dfd546e
2 changed files with 0 additions and 12 deletions
|
@ -220,17 +220,6 @@ MainTab::~MainTab()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainTab::setCurrentLocationIndex()
|
|
||||||
{
|
|
||||||
if (current_dive) {
|
|
||||||
struct dive_site *ds = current_dive->dive_site;
|
|
||||||
if (ds)
|
|
||||||
ui.location->setCurrentDiveSite(ds);
|
|
||||||
else
|
|
||||||
ui.location->clear();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainTab::toggleTriggeredColumn()
|
void MainTab::toggleTriggeredColumn()
|
||||||
{
|
{
|
||||||
QAction *action = qobject_cast<QAction *>(sender());
|
QAction *action = qobject_cast<QAction *>(sender());
|
||||||
|
|
|
@ -97,7 +97,6 @@ slots:
|
||||||
void toggleTriggeredColumn();
|
void toggleTriggeredColumn();
|
||||||
void updateTextLabels(bool showUnits = true);
|
void updateTextLabels(bool showUnits = true);
|
||||||
void escDetected(void);
|
void escDetected(void);
|
||||||
void setCurrentLocationIndex();
|
|
||||||
EditMode getEditMode() const;
|
EditMode getEditMode() const;
|
||||||
private:
|
private:
|
||||||
Ui::MainTab ui;
|
Ui::MainTab ui;
|
||||||
|
|
Loading…
Add table
Reference in a new issue