From 7671ff04308f9611129f5bbd3de31284f27cf397 Mon Sep 17 00:00:00 2001 From: ubbo Date: Fri, 29 Mar 2013 04:09:25 +0000 Subject: add build number to about dialog git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1032 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- aboutdialog.cpp | 2 ++ gpg4usb.pro | 1 + 2 files changed, 3 insertions(+) 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("

" + qApp->applicationName() + " " + qApp->applicationVersion() + "

" + + "
Build: " + QString::number(Version::BUILD) + " - Revision:" + QString::number(Version::REVISION) + "
" + tr("
This application allows simple encryption
" "and decryption of text messages or files.
" "It's licensed under the GPL v3

" 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 \ -- cgit v1.2.3