Browse Source

- Now VERSION is defined in src.pro, avoid duplication, cleaner and more adapted.

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
af3384f748
  1. 5
      TODO
  2. 3
      src/about_imp.h
  3. 5
      src/bittorrent.h
  4. 6
      src/src.pro

5
TODO

@ -35,13 +35,12 @@
- Add a torrent scheduler - Add a torrent scheduler
// in v1.0.0 (partial) or maybe v0.9.0 depending on next libtorrent release date // in v1.0.0 (partial) or maybe v0.9.0 depending on next libtorrent release date
- Download from RSS feeds - Download from RSS feeds (IN PROGRESS)
- Move finished torrent to another tab and keep on seeding them even after restart - Move finished torrent to another tab and keep on seeding them even after restart
- Allow to edit the trackers for a torrent - Allow to edit the trackers for a torrent
// In v0.9.0 // In v0.9.0
- Update translations (contact translators) - Update translations (translators contacted)
- Find a better way to update qBittorrent VERSION
- Splitting torrent part from GUI (bug squashing + cleanup) - Splitting torrent part from GUI (bug squashing + cleanup)
- Create options object only when necessary to save up some memory - Create options object only when necessary to save up some memory
- Wait for libtorrent v0.12 official release - Wait for libtorrent v0.12 official release

3
src/about_imp.h

@ -23,7 +23,6 @@
#define ABOUT_H #define ABOUT_H
#include "ui_about.h" #include "ui_about.h"
#define VERSION "v0.9.0beta5"
class about : public QDialog, private Ui::AboutDlg{ class about : public QDialog, private Ui::AboutDlg{
Q_OBJECT Q_OBJECT
@ -35,7 +34,7 @@ class about : public QDialog, private Ui::AboutDlg{
// Set icons // Set icons
logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/qbittorrent32.png"))); logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/qbittorrent32.png")));
//Title //Title
lb_name->setText("<b><h1>"+tr("qBittorrent")+" "+VERSION"</h1></b>"); lb_name->setText("<b><h1>"+tr("qBittorrent")+" "VERSION"</h1></b>");
// Thanks // Thanks
te_thanks->append("<ul><li>I would like to thank sourceforge.net for hosting qBittorrent project.</li>"); te_thanks->append("<ul><li>I would like to thank sourceforge.net for hosting qBittorrent project.</li>");
te_thanks->append("<li>I also want to thank Jeffery Fernandez (jeffery@qbittorrent.org), project consultant, webdevelopper and RPM packager, for his help.</li>"); te_thanks->append("<li>I also want to thank Jeffery Fernandez (jeffery@qbittorrent.org), project consultant, webdevelopper and RPM packager, for his help.</li>");

5
src/bittorrent.h

@ -43,11 +43,6 @@
#include "deleteThread.h" #include "deleteThread.h"
#define VERSION "v0.9.0beta5"
#define VERSION_MAJOR 0
#define VERSION_MINOR 9
#define VERSION_BUGFIX 0
using namespace libtorrent; using namespace libtorrent;
namespace fs = boost::filesystem; namespace fs = boost::filesystem;

6
src/src.pro

@ -13,6 +13,12 @@ DEPENDPATH += . trayicon
INCLUDEPATH += $$TRAYICON_CPP INCLUDEPATH += $$TRAYICON_CPP
CONFIG += qt x11 CONFIG += qt x11
# Update this VERSION for each release
DEFINES += VERSION=\\\"v0.9.0beta5\\\"
DEFINES += VERSION_MAJOR=0
DEFINES += VERSION_MINOR=9
DEFINES += VERSION_BUGFIX=0
contains(DEBUG_MODE, 1){ contains(DEBUG_MODE, 1){
CONFIG += debug CONFIG += debug
message(Debug build!) message(Debug build!)

Loading…
Cancel
Save