GeoJSON: don't crash when operating on empty data
Fix crashes in "geojson_viewer" example when trying to print or store
debug data without loading a file first.
Change-Id: I7b2955d072af8d2a1f39bfca196ffc309e9b4234
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
| commit | 7c7248206907bcb0d65a4810ac5e52faf8da4ec8 |
| parent | ee7e5de79f83625df1adfb244b0d608dae480728 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Thu, 22 Sep 2022 18:09:26 +0200 |