Browse Source

- Fix compilation error when geoip database is embedded

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
ba27191b2a
  1. 2
      src/geoip.h

2
src/geoip.h

@ -46,7 +46,7 @@ protected: @@ -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…
Cancel
Save