winrt: Add error handling for GeoPositionInfoSource creation
If something goes wrong while creating the source, the factory should
return a nullptr (same as in QGeoPositionInfoSourceFactoryGipsy). One
such error might be, that access to location is denied on first
application start.
Task-number: QTBUG-60299
Change-Id: I50e87895a74bcff856aa29a195762a83466bc5b9
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
| commit | 3d43b398bc09319ba63afd45429c252b6d40b093 |
| parent | c2691cf479c88ba0f74492195912cd9b62ce4e62 |
| author | Oliver Wolff <oliver.wolff@qt.io> |
| committer | Oliver Wolff <oliver.wolff@qt.io> |
| commit time | Mon, 24 Apr 2017 12:50:00 +0000 |