mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
72523ff0df
commit
f2e03022fa
2 changed files with 27 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue