From 55e967673ccde7a33f1ade3edb20b4c7a24d0f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 24 Feb 2018 22:31:37 +0100 Subject: [PATCH] Use image/png as the default image format --- src/map/mapsource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/mapsource.cpp b/src/map/mapsource.cpp index 7707ddf5..07200860 100644 --- a/src/map/mapsource.cpp +++ b/src/map/mapsource.cpp @@ -124,7 +124,8 @@ RectC MapSource::bounds(QXmlStreamReader &reader) Map *MapSource::map(QXmlStreamReader &reader) { - QString name, url, format, layer, style, set; + QString name, url, layer, style, set; + QString format("image/png"); bool invert = false; Range z(ZOOM_MIN, ZOOM_MAX); RectC b(Coordinates(BOUNDS_LEFT, BOUNDS_TOP),