mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Add make dist target
This commit is contained in:
parent
3529c5c7a0
commit
921512e51d
3 changed files with 21 additions and 12 deletions
|
@ -87,7 +87,6 @@ QBtSession* QBtSession::m_instance = 0;
|
|||
const qreal QBtSession::MAX_RATIO = 9999.;
|
||||
|
||||
const int MAX_TRACKER_ERRORS = 2;
|
||||
enum VersionType { NORMAL,ALPHA,BETA,RELEASE_CANDIDATE,DEVEL };
|
||||
|
||||
// Main constructor
|
||||
QBtSession::QBtSession()
|
||||
|
@ -113,7 +112,7 @@ QBtSession::QBtSession()
|
|||
version << VERSION_MAJOR;
|
||||
version << VERSION_MINOR;
|
||||
version << VERSION_BUGFIX;
|
||||
version << VERSION_TYPE;
|
||||
version << 0;
|
||||
const QString peer_id = "qB";
|
||||
// Construct session
|
||||
s = new session(fingerprint(peer_id.toLocal8Bit().constData(), version.at(0), version.at(1), version.at(2), version.at(3)), 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue