diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-02 16:53:26 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2019-02-02 19:35:36 +0200 |
commit | 5e2dfd546e1bef5e54bd8fef2e06b1e58f5c176e (patch) | |
tree | 6b7ee26465d1efd7b83212fc0d7149842a62718d /desktop-widgets/tab-widgets/maintab.cpp | |
parent | 3502afad10055117fa9bb265d344f5e2c5ad7b9a (diff) | |
download | subsurface-5e2dfd546e1bef5e54bd8fef2e06b1e58f5c176e.tar.gz |
Cleanup: remove unused function MainTab::setCurrentLocationIndex
The last caller was removed in ce8199cdfdef97437ad85178c7104f307baf018b.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 4bc7006bf..7882573ba 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -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()); |