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>
This commit is contained in:
Dirk Hohndel 2016-06-12 12:09:49 -07:00
parent 72523ff0df
commit f2e03022fa
2 changed files with 27 additions and 14 deletions

View file

@ -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)