diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-06-12 12:09:49 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-06-12 12:09:49 -0700 |
commit | f2e03022fa420309c268221cf75b41f176526455 (patch) | |
tree | 3a239722c7690453569f809b071e592c599a001d /mobile-widgets/qmlmanager.cpp | |
parent | 72523ff0dfc6f8e2ecd9ef07f72cdce2af527e3d (diff) | |
download | subsurface-f2e03022fa420309c268221cf75b41f176526455.tar.gz |
QML UI: disable GPS functionality on iOS
I still haven't figured out how to make GPS work on iOS. So let's not
pretend this works.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 1c3e1210e..669072321 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1111,7 +1111,11 @@ 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) |