diff --git a/src/cutter.h b/src/cutter.h index 320714ae..0bfecf63 100644 --- a/src/cutter.h +++ b/src/cutter.h @@ -30,6 +30,7 @@ #define __question(x) (QMessageBox::Yes==QMessageBox::question (this, "Alert", QString(x), QMessageBox::Yes| QMessageBox::No)) #define APPNAME "Cutter" +#define CUTTER_VERSION "1.0" #define Core() (CutterCore::getInstance()) diff --git a/src/dialogs/AboutDialog.cpp b/src/dialogs/AboutDialog.cpp index 6d095b42..7ee429c9 100644 --- a/src/dialogs/AboutDialog.cpp +++ b/src/dialogs/AboutDialog.cpp @@ -1,5 +1,6 @@ #include "AboutDialog.h" #include "ui_AboutDialog.h" +#include "cutter.h" #include "r_version.h" AboutDialog::AboutDialog(QWidget *parent) : @@ -9,12 +10,13 @@ AboutDialog::AboutDialog(QWidget *parent) : ui->setupUi(this); setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint)); ui->label->setText(tr("

Cutter

" - "Version 1.0 alpha
" + "Version "CUTTER_VERSION"
" "Using r2-" R2_GITTAP "

License

" "This Software is released under the GNU General Public License v3.0" "

Authors

" - "Hugo Teso <hugo.teso@gmail.org>\nSoon to be thousands more!")); + "xarkes, thestr4ng3r, ballessay" + "Based on Hugo Teso <hugo.teso@gmail.org> work (originally Iaito).")); } AboutDialog::~AboutDialog() {} diff --git a/src/dialogs/AboutDialog.ui b/src/dialogs/AboutDialog.ui index 370e0dbd..fa8fe2e3 100644 --- a/src/dialogs/AboutDialog.ui +++ b/src/dialogs/AboutDialog.ui @@ -11,7 +11,7 @@ - Dialog + About Cutter