Browse Source

Merge pull request #4586 from glassez/geoip_nogui

Allow GeoIP in NoGUI builds
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
b79b5a01cc
  1. 4
      src/base/bittorrent/session.cpp
  2. 2
      src/src.pro

4
src/base/bittorrent/session.cpp

@ -62,10 +62,6 @@ using namespace BitTorrent; @@ -62,10 +62,6 @@ using namespace BitTorrent;
#include <libtorrent/extensions/smart_ban.hpp>
//#include <libtorrent/extensions/metadata_transfer.hpp>
#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"

2
src/src.pro

@ -21,7 +21,7 @@ os2: include(../os2conf.pri) @@ -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

Loading…
Cancel
Save