summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
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/mainwindow.cpp
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/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp5
1 files changed, 0 insertions, 5 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;