mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
- Fix compilation error when geoip database is embedded
This commit is contained in:
parent
dc87aa3d5c
commit
ba27191b2a
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ protected:
|
|||
static QString geoipFolder(bool embedded=false) {
|
||||
if(embedded)
|
||||
return ":/geoip/";
|
||||
return misc::qBittorrentPath()+"geoip"+QDir::separator();
|
||||
return misc::QDesktopServicesDataLocation()+"geoip"+QDir::separator();
|
||||
#else
|
||||
static QString geoipFolder(bool) {
|
||||
if(QFile::exists("/usr/local/share/GeoIP/GeoIP.dat"))
|
||||
|
|
Loading…
Reference in a new issue