Fix #110 (top 3 contribs in About Dialog)

This commit is contained in:
xarkes 2017-11-27 17:24:31 +01:00
parent d8d4de9625
commit 1b07e05e5d
3 changed files with 6 additions and 3 deletions

View File

@ -30,6 +30,7 @@
#define __question(x) (QMessageBox::Yes==QMessageBox::question (this, "Alert", QString(x), QMessageBox::Yes| QMessageBox::No)) #define __question(x) (QMessageBox::Yes==QMessageBox::question (this, "Alert", QString(x), QMessageBox::Yes| QMessageBox::No))
#define APPNAME "Cutter" #define APPNAME "Cutter"
#define CUTTER_VERSION "1.0"
#define Core() (CutterCore::getInstance()) #define Core() (CutterCore::getInstance())

View File

@ -1,5 +1,6 @@
#include "AboutDialog.h" #include "AboutDialog.h"
#include "ui_AboutDialog.h" #include "ui_AboutDialog.h"
#include "cutter.h"
#include "r_version.h" #include "r_version.h"
AboutDialog::AboutDialog(QWidget *parent) : AboutDialog::AboutDialog(QWidget *parent) :
@ -9,12 +10,13 @@ AboutDialog::AboutDialog(QWidget *parent) :
ui->setupUi(this); ui->setupUi(this);
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint)); setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
ui->label->setText(tr("<h1>Cutter</h1>" ui->label->setText(tr("<h1>Cutter</h1>"
"Version 1.0 alpha<br />" "Version "CUTTER_VERSION"<br/>"
"Using r2-" R2_GITTAP "Using r2-" R2_GITTAP
"<h2>License</h2>" "<h2>License</h2>"
"This Software is released under the GNU General Public License v3.0" "This Software is released under the GNU General Public License v3.0"
"<h2>Authors</h2>" "<h2>Authors</h2>"
"Hugo Teso &lt;hugo.teso@gmail.org&gt;\nSoon to be thousands more!")); "xarkes, thestr4ng3r, ballessay"
"Based on Hugo Teso &lt;hugo.teso@gmail.org&gt; work (originally Iaito)."));
} }
AboutDialog::~AboutDialog() {} AboutDialog::~AboutDialog() {}

View File

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>About Cutter</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing"> <property name="spacing">