diff --git a/TODO b/TODO index 1e9d622e5..50d819f76 100644 --- a/TODO +++ b/TODO @@ -35,7 +35,7 @@ - Add a torrent scheduler // In v0.9.0 -- Wait for libtorrent v0.12 officiel release +- Wait for libtorrent v0.12 official release - Add an option to disable Peer Exchange (PeX) - Move deletion from hard drive to a thread to avoid GUI freezing - Should create options dialog only when needed to save up some memory diff --git a/src/GUI.cpp b/src/GUI.cpp index 6602d22fe..52ebdfe6b 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -65,7 +65,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){ setWindowTitle(tr("qBittorrent ")+VERSION); QCoreApplication::setApplicationName("qBittorrent"); readSettings(); - s = new session(fingerprint("qB", 0, 9, 0, 0)); + s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0)); //s = new session(fingerprint("AZ", 2, 5, 0, 0)); //Azureus fingerprint // Setting icons this->setWindowIcon(QIcon(QString::fromUtf8(":/Icons/qbittorrent32.png"))); diff --git a/src/about_imp.h b/src/about_imp.h index d154ab1c4..048fabd25 100644 --- a/src/about_imp.h +++ b/src/about_imp.h @@ -24,6 +24,9 @@ #include "ui_about.h" #define VERSION "v0.9.0beta1" +#define VERSION_MAJOR 0 +#define VERSION_MINOR 9 +#define VERSION_BUGFIX 0 class about : public QDialog, private Ui::AboutDlg{ Q_OBJECT