Cleanup: remove unused function MainTab::setCurrentLocationIndex
The last caller was removed in ce8199cdfdef97437ad85178c7104f307baf018b. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3502afad10
commit
5e2dfd546e
@ -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()
|
||||
{
|
||||
QAction *action = qobject_cast<QAction *>(sender());
|
||||
|
||||
@ -97,7 +97,6 @@ slots:
|
||||
void toggleTriggeredColumn();
|
||||
void updateTextLabels(bool showUnits = true);
|
||||
void escDetected(void);
|
||||
void setCurrentLocationIndex();
|
||||
EditMode getEditMode() const;
|
||||
private:
|
||||
Ui::MainTab ui;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user