summaryrefslogtreecommitdiffstats
path: root/backend-shared/plannershared.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-20 20:26:32 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-24 20:21:28 -0800
commit663fe7f78b23db1ca2badf2889498444f31c7630 (patch)
tree2d11ab6eca4297d443903721ba1357e3654ea1b5 /backend-shared/plannershared.cpp
parentb0e46c208dd4fb13d5c3e6010c56cbc50742b4ec (diff)
downloadsubsurface-663fe7f78b23db1ca2badf2889498444f31c7630.tar.gz
backendShared: remove length slot
Length variables are updated from the QML and desktop directly. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'backend-shared/plannershared.cpp')
-rw-r--r--backend-shared/plannershared.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/backend-shared/plannershared.cpp b/backend-shared/plannershared.cpp
index 622953dfd..631893d3e 100644
--- a/backend-shared/plannershared.cpp
+++ b/backend-shared/plannershared.cpp
@@ -11,11 +11,6 @@ plannerShared *plannerShared::instance()
static plannerShared *self = new plannerShared;
return self;
}
-plannerShared::plannerShared()
-{
- // Be informed when user switches METER <-> FEET
- connect(qPrefUnits::instance(), &qPrefUnits::lengthChanged, this, &unit_lengthChangedSlot);
-}
// Planning values
deco_mode plannerShared::planner_deco_mode()
@@ -213,8 +208,3 @@ void plannerShared::set_bestmixend(int value)
qPrefDivePlanner::set_bestmixend(units_to_depth(value).mm);
CylindersModel::instance()->updateBestMixes();
}
-
-// Handle when user changes length measurement type
-void plannerShared::unit_lengthChangedSlot(int value)
-{
-}