summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Knauß <sknauss@kde.org>2016-12-03 10:43:52 (GMT)
committerSandro Knauß <sknauss@kde.org>2016-12-03 10:47:44 (GMT)
commite978f4d266846c74200424149214b968789f0485 (patch)
treec69194921ab73d56b96cb96734b67adbfc38b809
parent7dfd7df456e55a866e953bb497e0649426c9d80a (diff)
Used accidently a header that is not available in gpgme 1.7.1
Fixes: Dependency freeze broken in messagelib CCMAIL: aacid@kde.org
-rw-r--r--mimetreeparser/src/viewer/messagepart.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mimetreeparser/src/viewer/messagepart.cpp b/mimetreeparser/src/viewer/messagepart.cpp
index 9788ff1..6e68e4c 100644
--- a/mimetreeparser/src/viewer/messagepart.cpp
+++ b/mimetreeparser/src/viewer/messagepart.cpp
@@ -33,9 +33,9 @@
#include <KMime/Content>
-#include <qgpgme/qgpgme_version.h>
+#include <gpgme.h>
-#if QGPGME_VERSION < 0x010702
+#if GPGME_VERSION_NUMBER < 0x010702
#include <Libkleo/Dn>
#else
#include <QGpgME/DN>
@@ -861,7 +861,7 @@ static int signatureToStatus(const GpgME::Signature &sig)
QString prettifyDN(const char *uid)
{
-#if QGPGME_VERSION < 0x010702
+#if GPGME_VERSION_NUMBER < 0x010702
return Kleo::DN(uid).prettyDN();
#else
return QGpgME::DN(uid).prettyDN();