mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
FEATURE: Optimized and improved the peer country resolution code
FEATURE: Optimized and improved the locale preferences code COSMETIC: Use country flags by Mark James (Thanks to Dmytro Pukha)
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
#include "preferences.h"
|
||||
#include "scannedfoldersmodel.h"
|
||||
#ifndef DISABLE_GUI
|
||||
#include "geoip.h"
|
||||
#include "geoipmanager.h"
|
||||
#endif
|
||||
#include "torrentpersistentdata.h"
|
||||
#include "httpserver.h"
|
||||
@@ -356,7 +356,7 @@ void QBtSession::configureSession() {
|
||||
resolve_countries = new_resolv_countries;
|
||||
if(resolve_countries && !geoipDBLoaded) {
|
||||
qDebug("Loading geoip database");
|
||||
GeoIP::loadDatabase(s);
|
||||
GeoIPManager::loadDatabase(s);
|
||||
geoipDBLoaded = true;
|
||||
}
|
||||
// Update torrent handles
|
||||
|
||||
Reference in New Issue
Block a user