mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-03-16 11:37:46 +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) {
|
for (int i = 0; i < list.size(); ++i) {
|
||||||
Tile &t = list[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(QDir::homePath()).arg(_name).arg(t.zoom()).arg(t.xy().rx())
|
||||||
.arg(t.xy().ry());
|
.arg(t.xy().ry());
|
||||||
QFileInfo fi(file);
|
QFileInfo fi(file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user