aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-11 16:50:41 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-13 11:21:34 -0700
commit7bf90fd2087d5082ab016587d1b980ddfef3d665 (patch)
tree6e9f046453e92ac4578f785f63773a1500c83e9e
parent085c65b0c42f7877c7b191c0bf3659e633df01c6 (diff)
downloadsubsurface-7bf90fd2087d5082ab016587d1b980ddfef3d665.tar.gz
mobile: remove hasLocationSourceChanged interface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp5
-rw-r--r--mobile-widgets/qmlmanager.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index f6436bb3b..1553e1a4b 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1653,11 +1653,6 @@ void QMLManager::setLocationServiceAvailable(bool locationServiceAvailable)
emit locationServiceAvailableChanged();
}
-void QMLManager::hasLocationSourceChanged()
-{
- setLocationServiceAvailable(GpsLocation::instance()->hasLocationsSource());
-}
-
void QMLManager::setVerboseEnabled(bool verboseMode)
{
m_verboseEnabled = verboseMode;
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index d7e62cffe..2ccfa374b 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -222,7 +222,6 @@ public slots:
void screenChanged(QScreen *screen);
void appendTextToLog(const QString &newText);
void quit();
- void hasLocationSourceChanged();
void btRescan();
void usbRescan();
void rescanConnections();