Browse Source

Use VERSION_BUILD where possible. Revert a change from previous commit.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
202e816d08
  1. BIN
      src/qbittorrent.rc
  2. 2
      src/qtlibtorrent/qbtsession.cpp
  3. 2
      version.pri

BIN
src/qbittorrent.rc

Binary file not shown.

2
src/qtlibtorrent/qbtsession.cpp

@ -127,7 +127,7 @@ QBtSession::QBtSession() @@ -127,7 +127,7 @@ QBtSession::QBtSession()
version << VERSION_MAJOR;
version << VERSION_MINOR;
version << VERSION_BUGFIX;
version << 0;
version << VERSION_BUILD;
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);

2
version.pri

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
PROJECT_NAME = qBittorrent
PROJECT_NAME = qbittorrent
# Define version numbers here
VER_MAJOR = 3

Loading…
Cancel
Save