You've already forked qBittorrent
mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-10-19 05:12:18 +02:00
Compare commits
1 Commits
release-3.
...
release-2.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5ec0900b84 |
@@ -7,7 +7,7 @@ SOURCES += $$PWD/geoipmanager.cpp
|
|||||||
# Add GeoIP resource file if the GeoIP database
|
# Add GeoIP resource file if the GeoIP database
|
||||||
# should be embedded in qBittorrent executable
|
# should be embedded in qBittorrent executable
|
||||||
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
|
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
|
||||||
exists("geoip/GeoIP.dat") {
|
exists("GeoIP.dat") {
|
||||||
message("GeoIP.dat was found in src/geoip/.")
|
message("GeoIP.dat was found in src/geoip/.")
|
||||||
RESOURCES += $$PWD/geoip.qrc
|
RESOURCES += $$PWD/geoip.qrc
|
||||||
} else {
|
} else {
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -65,6 +65,7 @@
|
|||||||
#include <libtorrent/identify_client.hpp>
|
#include <libtorrent/identify_client.hpp>
|
||||||
#include <libtorrent/alert_types.hpp>
|
#include <libtorrent/alert_types.hpp>
|
||||||
#include <libtorrent/torrent_info.hpp>
|
#include <libtorrent/torrent_info.hpp>
|
||||||
|
#include <libtorrent/version.hpp>
|
||||||
#include <boost/filesystem/exception.hpp>
|
#include <boost/filesystem/exception.hpp>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
@@ -1860,7 +1861,15 @@ void QBtSession::setSessionSettings(const session_settings &sessionSettings) {
|
|||||||
// Set Proxy
|
// Set Proxy
|
||||||
void QBtSession::setProxySettings(const proxy_settings &proxySettings) {
|
void QBtSession::setProxySettings(const proxy_settings &proxySettings) {
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
|
|
||||||
|
#if (LIBTORRENT_VERSION_MINOR > 15) || (LIBTORRENT_VERSION_MINOR == 15 && LIBTORRENT_VERSION_TINY > 4)
|
||||||
s->set_proxy(proxySettings);
|
s->set_proxy(proxySettings);
|
||||||
|
#else
|
||||||
|
s->set_peer_proxy(proxySettings);
|
||||||
|
s->set_web_seed_proxy(proxySettings);
|
||||||
|
s->set_tracker_proxy(proxySettings);
|
||||||
|
s->set_dht_proxy(proxySettings);
|
||||||
|
#endif
|
||||||
// Define environment variable
|
// Define environment variable
|
||||||
QString proxy_str;
|
QString proxy_str;
|
||||||
switch(proxySettings.type) {
|
switch(proxySettings.type) {
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG += qt thread
|
CONFIG += qt thread
|
||||||
|
|
||||||
unix:macx {
|
unix:!macx {
|
||||||
exists(../conf.pri) {
|
exists(../conf.pri) {
|
||||||
# generated by configure
|
# generated by configure
|
||||||
include(../conf.pri)
|
include(../conf.pri)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
os2 {
|
os2 {
|
||||||
DEFINES += VERSION=\'\"v2.5.0beta5\"\'
|
DEFINES += VERSION=\'\"v2.5.0beta6\"\'
|
||||||
} else {
|
} else {
|
||||||
DEFINES += VERSION=\\\"v2.5.0beta5\\\"
|
DEFINES += VERSION=\\\"v2.5.0beta6\\\"
|
||||||
}
|
}
|
||||||
DEFINES += VERSION_MAJOR=2
|
DEFINES += VERSION_MAJOR=2
|
||||||
DEFINES += VERSION_MINOR=5
|
DEFINES += VERSION_MINOR=5
|
||||||
|
Reference in New Issue
Block a user