diff options
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) |