From ba27191b2a37ce8280d0b5650ea8a186995061ba Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 29 Jan 2010 19:01:32 +0000 Subject: [PATCH] - Fix compilation error when geoip database is embedded --- src/geoip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geoip.h b/src/geoip.h index 00e143ba7..1f94c75d3 100644 --- a/src/geoip.h +++ b/src/geoip.h @@ -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"))