summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-04-12 22:38:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-21 10:04:26 -0700
commit267c82d85f5f877a99a56d02030fac70848e4c21 (patch)
tree2ee61bbb64db003a3e6210027659ba778b8bffb0 /desktop-widgets
parenta0a631122ab345306fe106288a0bd1d3f2b8f3da (diff)
downloadsubsurface-267c82d85f5f877a99a56d02030fac70848e4c21.tar.gz
cleanup: remove MainWindow::turnOffNdlTts()
This flag is handled directly by the profile code since 2015 (000c9cc21c8991682169987ae8f348243ec5008b). The function therefore can be removed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp5
-rw-r--r--desktop-widgets/mainwindow.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 7ea150dd1..5c036915d 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -1528,11 +1528,6 @@ void MainWindow::editCurrentDive()
mainTab->enableEdition();
}
-void MainWindow::turnOffNdlTts()
-{
- qPrefTechnicalDetails::set_calcndltts(false);
-}
-
void MainWindow::on_actionExport_triggered()
{
DiveLogExportDialog diveLogExport;
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index c3f8a2823..5d2711f4f 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -153,7 +153,6 @@ signals:
public
slots:
- void turnOffNdlTts();
void readSettings();
void refreshDisplay();
void showProfile();