mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07: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:
parent
f5cf5c2176
commit
c77eb35f5b
314 changed files with 604 additions and 411 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue