From bc6d48d1fe3338e83085ae4742faade4dfa24e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 25 Sep 2018 01:49:08 +0200 Subject: [PATCH] Some more code cleanup --- src/map/tileloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/tileloader.cpp b/src/map/tileloader.cpp index b0acd87d..061a9e98 100644 --- a/src/map/tileloader.cpp +++ b/src/map/tileloader.cpp @@ -39,7 +39,7 @@ void TileLoader::loadTilesAsync(QList &list) else if (fi.exists()) loadTileFile(t, file); else - dl.append(Download(tileUrl(t), file)); + dl.append(Download(url, file)); } if (!dl.empty()) @@ -61,7 +61,7 @@ void TileLoader::loadTilesSync(QList &list) else if (fi.exists()) loadTileFile(t, file); else - dl.append(Download(tileUrl(t), file)); + dl.append(Download(url, file)); } if (dl.empty())