diff options
Diffstat (limited to 'source/kde/kde/patch/ktorrent/ktorrent.use.package.geoip.database.diff')
-rw-r--r-- | source/kde/kde/patch/ktorrent/ktorrent.use.package.geoip.database.diff | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source/kde/kde/patch/ktorrent/ktorrent.use.package.geoip.database.diff b/source/kde/kde/patch/ktorrent/ktorrent.use.package.geoip.database.diff index 3b2407acf..8b45be434 100644 --- a/source/kde/kde/patch/ktorrent/ktorrent.use.package.geoip.database.diff +++ b/source/kde/kde/patch/ktorrent/ktorrent.use.package.geoip.database.diff @@ -1,6 +1,6 @@ ---- ./plugins/infowidget/geoipmanager.cpp.orig 2021-06-05 16:25:43.000000000 -0500 -+++ ./plugins/infowidget/geoipmanager.cpp 2021-06-10 15:57:49.201091341 -0500 -@@ -45,7 +45,7 @@ +--- ./plugins/infowidget/geoipmanager.cpp.orig 2021-08-15 00:22:42.578507015 -0500 ++++ ./plugins/infowidget/geoipmanager.cpp 2021-08-15 00:26:18.456513207 -0500 +@@ -30,7 +30,7 @@ #ifdef USE_SYSTEM_GEOIP geo_ip = GeoIP_open_type(GEOIP_COUNTRY_EDITION, GEOIP_STANDARD); #else @@ -9,7 +9,7 @@ if (geoip_data_file.isEmpty()) geoip_data_file = QStandardPaths::locate(QStandardPaths::AppDataLocation, QStringLiteral("GeoIP.dat")); -@@ -56,11 +56,6 @@ +@@ -41,11 +41,6 @@ if (geo_ip) { QFileInfo fi(geoip_data_file); QDateTime now = QDateTime::currentDateTime(); @@ -21,12 +21,10 @@ } } #endif -@@ -104,14 +99,6 @@ +@@ -89,12 +84,6 @@ 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(); |