aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gpgcontext.cpp4
-rw-r--r--gpgcontext.h1
-rw-r--r--mainwindow.cpp4
3 files changed, 8 insertions, 1 deletions
diff --git a/gpgcontext.cpp b/gpgcontext.cpp
index 14ee25b..1dd01ff 100644
--- a/gpgcontext.cpp
+++ b/gpgcontext.cpp
@@ -778,6 +778,10 @@ GpgKey GpgContext::getKeyById(QString id) {
return GpgKey();
}
+QString GpgContext::getGpgmeVersion() {
+ return QString(gpgme_check_version(NULL));
+}
+
}
diff --git a/gpgcontext.h b/gpgcontext.h
index 54ddb12..4efc3fe 100644
--- a/gpgcontext.h
+++ b/gpgcontext.h
@@ -134,6 +134,7 @@ public:
GpgKey getKeyById(QString id);
static QString gpgErrString(gpgme_error_t err);
+ static QString getGpgmeVersion();
/**
* @brief
diff --git a/mainwindow.cpp b/mainwindow.cpp
index d90ffd1..e247d19 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -592,7 +592,9 @@ void MainWindow::about()
"If you have any questions or suggestions have a look<br/>"
"at our <a href=\"http://gpg4usb.cpunk.de/contact.php\">"
"contact page</a> or send a mail to our<br/> mailing list at"
- " <a href=\"mailto:[email protected]\">[email protected]</a>."));
+ " <a href=\"mailto:[email protected]\">[email protected]</a>.")
+ + tr("<br/><br/> Built with Qt ") + qVersion()
+ + tr(" and GPGME ") + GpgME::GpgContext::getGpgmeVersion());
QDialog *dialog = new QDialog(this);
dialog->setWindowTitle(*title);