From dbf430ac2ee5b36c3c70e5da65f1a259494ffc7b Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Sun, 17 Jan 2016 10:11:55 +0300 Subject: [PATCH 1/2] Allow GeoIP in NoGUI builds --- src/src.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src.pro b/src/src.pro index 73c537316..346757a01 100644 --- a/src/src.pro +++ b/src/src.pro @@ -21,7 +21,7 @@ os2: include(../os2conf.pri) nogui { QT -= gui - DEFINES += DISABLE_GUI DISABLE_COUNTRIES_RESOLUTION + DEFINES += DISABLE_GUI TARGET = qbittorrent-nox } else { QT += xml From 3df802cef7f8389aef9e1180096433adeddaea8c Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Sun, 17 Jan 2016 10:12:55 +0300 Subject: [PATCH 2/2] Delete unused include --- src/base/bittorrent/session.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index a4bb4b64f..184c3f3c7 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -62,10 +62,6 @@ using namespace BitTorrent; #include //#include -#ifndef DISABLE_COUNTRIES_RESOLUTION -#include "base/net/geoipmanager.h" -#endif - #include "base/utils/misc.h" #include "base/utils/fs.h" #include "base/utils/string.h"