aboutsummaryrefslogtreecommitdiffstats
path: root/gpgcontext.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-09 00:33:53 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-09 00:33:53 +0000
commit55a52020e7278151912d58af5274e38d0a131e72 (patch)
treeb50ed522ec96d3b935d222fccda36569c9b0436b /gpgcontext.cpp
parentfix build on qt < 4.8 (diff)
downloadgpg4usb-55a52020e7278151912d58af5274e38d0a131e72.tar.gz
gpg4usb-55a52020e7278151912d58af5274e38d0a131e72.zip
tell gpgme and qt version this app was compiled with in about dialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@736 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgcontext.cpp')
-rw-r--r--gpgcontext.cpp4
1 files changed, 4 insertions, 0 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));
+}
+
}