mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Do not store the files as .png as they may be in other format
This commit is contained in:
parent
7079e30831
commit
4550e473de
@ -31,7 +31,7 @@ void Map::loadTiles(QList<Tile> &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);
|
||||
|
Loading…
Reference in New Issue
Block a user