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:
Murillo Bernardes 2017-12-05 16:34:50 +08:00 committed by Dirk Hohndel
parent 69532a2aa4
commit 4dbbf1ff27

View file

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