diff options
author | Ingo Klöcker <dev@ingo-kloecker.de> | 2022-05-02 15:59:41 +0200 |
---|---|---|
committer | Ingo Klöcker <dev@ingo-kloecker.de> | 2022-05-02 16:00:43 +0200 |
commit | 540e7bf3d457a78497b6b7ac33b486b3c5b50857 (patch) | |
tree | 6ae4f576bd17f9b62d4262973bca340956f21261 /lang | |
parent | e12861f18c6b431b40bfa78eb6f1d149690a5fcd (diff) | |
download | gpgme-540e7bf3d457a78497b6b7ac33b486b3c5b50857.tar.gz |
qt: Use GpgME::Locate alias
* lang/qt/src/protocol_p.h (Protocol::locateKeysJob): Use Locate alias
instead of Extern|Local.
* lang/qt/src/qgpgmekeyformailboxjob.cpp (do_work): Ditto.
--
Diffstat (limited to 'lang')
-rw-r--r-- | lang/qt/src/protocol_p.h | 2 | ||||
-rw-r--r-- | lang/qt/src/qgpgmekeyformailboxjob.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/qt/src/protocol_p.h b/lang/qt/src/protocol_p.h index 9ff62ee6..56c296c0 100644 --- a/lang/qt/src/protocol_p.h +++ b/lang/qt/src/protocol_p.h @@ -426,7 +426,7 @@ public: if (!context) { return nullptr; } - context->setKeyListMode(GpgME::Extern | GpgME::Local | GpgME::Signatures | GpgME::Validate); + context->setKeyListMode(GpgME::Locate | GpgME::Signatures | GpgME::Validate); return new QGpgME::QGpgMEKeyListJob(context); } diff --git a/lang/qt/src/qgpgmekeyformailboxjob.cpp b/lang/qt/src/qgpgmekeyformailboxjob.cpp index 534e9a36..b6ab3db6 100644 --- a/lang/qt/src/qgpgmekeyformailboxjob.cpp +++ b/lang/qt/src/qgpgmekeyformailboxjob.cpp @@ -71,7 +71,7 @@ static bool subkeyIsOk(const Subkey s) static QGpgMEKeyForMailboxJob::result_type do_work(Context *ctx, const QString &mailbox, bool canEncrypt) { /* Do a Keylisting. */ - ctx->setKeyListMode(GpgME::Extern | GpgME::Local | GpgME::Signatures | GpgME::Validate); + ctx->setKeyListMode(GpgME::Locate | GpgME::Signatures | GpgME::Validate); std::vector<Key> keys; QGpgMEKeyListJob *keylist = new QGpgMEKeyListJob(ctx); |