mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
69532a2aa4
commit
4dbbf1ff27
1 changed files with 0 additions and 4 deletions
|
@ -1344,11 +1344,7 @@ void QMLManager::setLocationServiceEnabled(bool locationServiceEnabled)
|
||||||
|
|
||||||
bool QMLManager::locationServiceAvailable() const
|
bool QMLManager::locationServiceAvailable() const
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_IOS)
|
|
||||||
return false;
|
|
||||||
#else
|
|
||||||
return m_locationServiceAvailable;
|
return m_locationServiceAvailable;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void QMLManager::setLocationServiceAvailable(bool locationServiceAvailable)
|
void QMLManager::setLocationServiceAvailable(bool locationServiceAvailable)
|
||||||
|
|
Loading…
Add table
Reference in a new issue