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
@ -1344,11 +1344,7 @@ 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…
x
Reference in New Issue
Block a user