mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Some more code cleanup
This commit is contained in:
parent
9bae94f30d
commit
bc6d48d1fe
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user