aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-11 16:53:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-13 11:21:34 -0700
commit5bc99194da2db9f561a04751e7ed206a03dcc9c3 (patch)
treed550af084f00a5b9b19f9352b38e4da208970e8e /mobile-widgets/qmlmanager.cpp
parent7bf90fd2087d5082ab016587d1b980ddfef3d665 (diff)
downloadsubsurface-5bc99194da2db9f561a04751e7ed206a03dcc9c3.tar.gz
mobile: remove locationService interfaces
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 1553e1a4b..eb44faaaf 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -201,7 +201,7 @@ static bool unsavedChanges()
return unsaved_changes() || !Command::isClean();
}
-QMLManager::QMLManager() : m_locationServiceEnabled(false),
+QMLManager::QMLManager() :
m_verboseEnabled(false),
m_diveListProcessing(false),
m_initialized(false),
@@ -1639,20 +1639,6 @@ void QMLManager::appendTextToLog(const QString &newText)
qDebug() << QString::number(timer.elapsed() / 1000.0,'f', 3) + ": " + newText;
}
-void QMLManager::setLocationServiceEnabled(bool locationServiceEnabled)
-{
- m_locationServiceEnabled = locationServiceEnabled;
- GpsLocation::instance()->serviceEnable(m_locationServiceEnabled);
- emit locationServiceEnabledChanged();
-}
-
-void QMLManager::setLocationServiceAvailable(bool locationServiceAvailable)
-{
- appendTextToLog(QStringLiteral("location service is ") + (locationServiceAvailable ? QStringLiteral("available") : QStringLiteral("not available")));
- m_locationServiceAvailable = locationServiceAvailable;
- emit locationServiceAvailableChanged();
-}
-
void QMLManager::setVerboseEnabled(bool verboseMode)
{
m_verboseEnabled = verboseMode;