Use QUrl::toLocalFile() in GeoJsonData
Using QUrl::path() stoped working with local files because a leading "/"
was remaining in the path. Using QUrl::toLocalFile() works.
Fixes: QTBUG-121766
Pick-to: 6.7
Change-Id: I3711d3aa030d54981f9089c3c0a3d4e46279a1ef
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
| commit | 106fc77a50c0bf6048bd9a0507e65d87479c5d3e |
| parent | 09cebafa5f77236b1c880be458a93ee713e02940 |
| author | Matthias Rauter <matthias.rauter@qt.io> |
| committer | Matthias Rauter <matthias.rauter@qt.io> |
| commit time | Tue, 6 Feb 2024 11:50:06 +0100 |