-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qBittorrent-Enhanced-Edition: Update to 5.0.0.10
Signed-off-by: Tianling Shen <[email protected]>
- Loading branch information
1 parent
dddf58f
commit 5121e03
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
net/qBittorrent-Enhanced-Edition/patches/100-use-original-user-agent.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
--- a/src/base/version.h.in | ||
+++ b/src/base/version.h.in | ||
@@ -31,7 +31,7 @@ | ||
#define QBT_VERSION_MAJOR 4 | ||
#define QBT_VERSION_MINOR 6 | ||
#define QBT_VERSION_BUGFIX 7 | ||
#define QBT_VERSION_MAJOR 5 | ||
#define QBT_VERSION_MINOR 0 | ||
#define QBT_VERSION_BUGFIX 0 | ||
-#define QBT_VERSION_BUILD 10 | ||
+#define QBT_VERSION_BUILD 0 | ||
#define QBT_VERSION_STATUS "" // Should be empty for stable releases! | ||
|
||
#define QBT__STRINGIFY(x) #x | ||
--- a/src/base/bittorrent/sessionimpl.cpp | ||
+++ b/src/base/bittorrent/sessionimpl.cpp | ||
@@ -142,7 +142,7 @@ namespace libtorrent | ||
@@ -121,7 +121,7 @@ const int STATISTICS_SAVE_INTERVAL = std | ||
namespace | ||
{ | ||
const char PEER_ID[] = "qB"; | ||
- const auto USER_AGENT = QStringLiteral("qBittorrent Enhanced/" QBT_VERSION_2); | ||
+ const auto USER_AGENT = QStringLiteral("qBittorrent/" QBT_VERSION_2); | ||
const QString DEFAULT_DHT_BOOTSTRAP_NODES = u"dht.libtorrent.org:25401, dht.transmissionbt.com:6881, router.bittorrent.com:6881, router.utorrent.com:6881, dht.aelitis.com:6881"_s; | ||
|
||
void torrentQueuePositionUp(const lt::torrent_handle &handle) | ||
{ |