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

This commit is contained in:
Christophe Dumez 2007-03-08 23:32:54 +00:00
parent 87f440aa9e
commit af3384f748
4 changed files with 9 additions and 10 deletions

5
TODO
View file

@ -35,13 +35,12 @@
- Add a torrent scheduler
// 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
- Allow to edit the trackers for a torrent
// In v0.9.0
- Update translations (contact translators)
- Find a better way to update qBittorrent VERSION
- Update translations (translators contacted)
- Splitting torrent part from GUI (bug squashing + cleanup)
- Create options object only when necessary to save up some memory
- Wait for libtorrent v0.12 official release

View file

@ -23,7 +23,6 @@
#define ABOUT_H
#include "ui_about.h"
#define VERSION "v0.9.0beta5"
class about : public QDialog, private Ui::AboutDlg{
Q_OBJECT
@ -35,7 +34,7 @@ class about : public QDialog, private Ui::AboutDlg{
// Set icons
logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/qbittorrent32.png")));
//Title
lb_name->setText("<b><h1>"+tr("qBittorrent")+" "+VERSION"</h1></b>");
lb_name->setText("<b><h1>"+tr("qBittorrent")+" "VERSION"</h1></b>");
// Thanks
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>");

View file

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

View file

@ -13,6 +13,12 @@ DEPENDPATH += . trayicon
INCLUDEPATH += $$TRAYICON_CPP
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){
CONFIG += debug
message(Debug build!)