diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-12-19 16:18:34 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2019-01-04 14:12:02 +0000 |
commit | b14145e3fe1bda9af80b043a3b0642510435fc7f (patch) | |
tree | bbfe46bf3948bcd01e67cb8794e46359f36576e0 /src/positioning/qgeopositioninfosourcefactory.cpp | |
parent | 3c3be256cc1658b0d02047b158228fd55d04e2a0 (diff) | |
download | qtlocation-b14145e3fe1bda9af80b043a3b0642510435fc7f.tar.gz |
Prevent potential blockage of setPreferredPositioningMethods()
This is useful because on several platforms supportedPositioningMethods()
returns NoPositioningMethods while the user has disabled the Location service.
At the same time the platforms can only support dynamic
supportedPositioningMethodsChanged() notifications after startUpdates() was called.
Blocking changes to this property would have been counterproductive as startUpdates() would
always fail and notification would not be possible.
This affects at least WinRT and Android and Apple platforms need still
further investigation.
Task-number: QTBUG-66427
Change-Id: Ie03a3ef9c9476d7be3547661eaa87678fdb7b39c
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/positioning/qgeopositioninfosourcefactory.cpp')
0 files changed, 0 insertions, 0 deletions