1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Some more code cleanup

This commit is contained in:
Martin Tůma 2018-09-25 01:49:08 +02:00
parent 9bae94f30d
commit bc6d48d1fe

View File

@ -39,7 +39,7 @@ void TileLoader::loadTilesAsync(QList<Tile> &list)
else if (fi.exists()) else if (fi.exists())
loadTileFile(t, file); loadTileFile(t, file);
else else
dl.append(Download(tileUrl(t), file)); dl.append(Download(url, file));
} }
if (!dl.empty()) if (!dl.empty())
@ -61,7 +61,7 @@ void TileLoader::loadTilesSync(QList<Tile> &list)
else if (fi.exists()) else if (fi.exists())
loadTileFile(t, file); loadTileFile(t, file);
else else
dl.append(Download(tileUrl(t), file)); dl.append(Download(url, file));
} }
if (dl.empty()) if (dl.empty())