summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Murillo Bernardes <mfbernardes@gmail.com>2017-12-05 16:34:50 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-05 08:57:18 -0800
commit4dbbf1ff27daccd1b2abc9a2257cc2089ac9b173 (patch)
treebaf7138bdf7d46ce020bf7aed2fd0514814d779c /mobile-widgets
parent69532a2aa481c10aa885881f2ae39b8675f035e3 (diff)
downloadsubsurface-4dbbf1ff27daccd1b2abc9a2257cc2089ac9b173.tar.gz
iOS: report location services availability
This enable use of current location on Add/Edit Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index bd7314d34..bffff14f3 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1344,11 +1344,7 @@ void QMLManager::setLocationServiceEnabled(bool locationServiceEnabled)
bool QMLManager::locationServiceAvailable() const
{
-#if defined(Q_OS_IOS)
- return false;
-#else
return m_locationServiceAvailable;
-#endif
}
void QMLManager::setLocationServiceAvailable(bool locationServiceAvailable)