MapViewTileProviderBase add cacheDir()
This commit is contained in:
@@ -79,7 +79,7 @@ void MapViewTileCache::tileProviderChanged() {
|
||||
cache_dir.setPath(cache_root);
|
||||
auto * provider = parent->downloader->provider;
|
||||
if (provider) {
|
||||
cache_dir.setPath(cache_root + "/" + provider->name());
|
||||
cache_dir.setPath(cache_root + "/" + provider->cacheDir());
|
||||
}
|
||||
qDebug() << "[MapViewTileCache] Cache dir" << cache_dir.absolutePath();
|
||||
if (!cache_dir.exists()) cache_dir.mkpath(".");
|
||||
|
||||
Reference in New Issue
Block a user