aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-03-29 04:09:25 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-03-29 04:09:25 +0000
commit7671ff04308f9611129f5bbd3de31284f27cf397 (patch)
treed40d607e90dddae0426b677e7f2e3e5c9e8880fd
parentadd default version.h (diff)
downloadgpg4usb-7671ff04308f9611129f5bbd3de31284f27cf397.tar.gz
gpg4usb-7671ff04308f9611129f5bbd3de31284f27cf397.zip
add build number to about dialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1032 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rwxr-xr-xaboutdialog.cpp2
-rw-r--r--gpg4usb.pro1
2 files changed, 3 insertions, 0 deletions
diff --git a/aboutdialog.cpp b/aboutdialog.cpp
index 8186a7e..190dc9f 100755
--- a/aboutdialog.cpp
+++ b/aboutdialog.cpp
@@ -20,6 +20,7 @@
*/
#include "aboutdialog.h"
+#include "version.h"
AboutDialog::AboutDialog(QWidget *parent)
: QDialog(parent)
@@ -50,6 +51,7 @@ InfoTab::InfoTab(QWidget *parent)
QPixmap *pixmap = new QPixmap(":gpg4usb-logo.png");
QString *text = new QString("<center><h2>" + qApp->applicationName() + " "
+ qApp->applicationVersion() + "</h2></center>"
+ + "<center><em>Build: " + QString::number(Version::BUILD) + " - Revision:" + QString::number(Version::REVISION) + "</em></center>"
+ tr("<center>This application allows simple encryption <br>"
"and decryption of text messages or files.<br>"
"It's licensed under the GPL v3<br><br>"
diff --git a/gpg4usb.pro b/gpg4usb.pro
index df00c13..90e67a0 100644
--- a/gpg4usb.pro
+++ b/gpg4usb.pro
@@ -38,6 +38,7 @@ HEADERS += attachments.h \
verifynotification.h \
verifydetailsdialog.h \
verifykeydetailbox.h \
+ version.h \
wizard.h \
helppage.h \
gpgconstants.h \