From 4550e473de524d8c48a813eb2af550cbf869a0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 3 Dec 2015 20:07:42 +0100 Subject: [PATCH] Do not store the files as .png as they may be in other format --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.cpp b/src/map.cpp index 6c0e7979..6d0cffa3 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -31,7 +31,7 @@ void Map::loadTiles(QList &list) for (int i = 0; i < list.size(); ++i) { Tile &t = list[i]; - QString file = QString("%1/"TILES_DIR"/%2/%3-%4-%5.png") + QString file = QString("%1/"TILES_DIR"/%2/%3-%4-%5") .arg(QDir::homePath()).arg(_name).arg(t.zoom()).arg(t.xy().rx()) .arg(t.xy().ry()); QFileInfo fi(file);