Verified Commit ca128f13 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Do not attempt to download non-existing GeoIp data

CCBUG: 403054

This skips the download and consequently silences the warning, a proper fix is in master implemented.
parent f40e1f58
......@@ -104,6 +104,8 @@ QString GeoIPManager::countryName(int country_id)
void GeoIPManager::downloadDataBase()
{
Out(SYS_INW | LOG_IMPORTANT) << "The download GeoIP database loading is defunct, skipping download" << endl;
return;
#ifndef USE_SYSTEM_GEOIP
Out(SYS_INW | LOG_NOTICE) << "Downloading GeoIP database: " << geoip_url << endl;
download_destination = kt::DataDir(CreateIfNotExists) + geoip_url.fileName();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment