diff options
author | deva <deva> | 2009-04-06 08:20:29 +0000 |
---|---|---|
committer | deva <deva> | 2009-04-06 08:20:29 +0000 |
commit | 5b63d9501320ddbc565f873921ea3c02c9b8efe0 (patch) | |
tree | 095dff254900921f84ec162926d61971c8d045ab /client | |
parent | 8d159f40850b5b1d6c639964dce31edbc77b405d (diff) |
Version number added in pro file.R_1_0_0
Diffstat (limited to 'client')
-rw-r--r-- | client/client.pro | 2 | ||||
-rw-r--r-- | client/mainwindow.cc | 2 | ||||
-rw-r--r-- | client/pracro.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/client.pro b/client/client.pro index 1faa111..830362a 100644 --- a/client/client.pro +++ b/client/client.pro @@ -10,6 +10,8 @@ QT += core gui network xml sql # For debugging QMAKE_CXXFLAGS += -g -Wall -Werror +DEFINES+=VERSION=\\\"1.0.0\\\" + win32 { LIBPATH += lua/lib INCLUDEPATH += lua/include diff --git a/client/mainwindow.cc b/client/mainwindow.cc index f0601ca..fd55ba0 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -49,7 +49,7 @@ MainWindow::MainWindow(QString cpr, QString course, QString host, quint16 port, setWindowTitle("Pracro - " + cpr); QStatusBar *status = statusBar(); - status->addPermanentWidget(new QLabel("Pracro v.1.0.0 - test2")); + status->addPermanentWidget(new QLabel("Pracro v."VERSION)); QScrollArea *s = new QScrollArea(); setCentralWidget(s); diff --git a/client/pracro.cc b/client/pracro.cc index e47ff1d..93c9429 100644 --- a/client/pracro.cc +++ b/client/pracro.cc @@ -36,8 +36,6 @@ #include "netcom.h" #include "mainwindow.h" -#define VERSION "1.0" - #define CPR_DEFAULT "" #define MACRO_DEFAULT "" #define COURSE_DEFAULT "" |